Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 215.5 kB / 22.25 MB, free: 4.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.398/1.398, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002448/0.002448, allocations: 283.8 kB / 312.7 MB, free: 2.602 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.16/1.16, allocations: 180.6 MB / 0.5369 GB, free: 14.6 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002914/0.002914, allocations: 110.2 kB / 0.7395 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1633, allocations: 95.38 MB / 0.8326 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002846/0.1662, allocations: 1.72 MB / 0.8343 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.1675, allocations: 0.9267 MB / 0.8352 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.1675, allocations: 0 / 0.8352 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003736/0.1679, allocations: 131.7 kB / 0.8353 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.849e-05/0.168, allocations: 47.73 kB / 0.8354 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.1683, allocations: 111.6 kB / 0.8355 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.1684, allocations: 107.4 kB / 0.8356 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.1685, allocations: 11.92 kB / 0.8356 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.696e-05/0.1685, allocations: 39.78 kB / 0.8356 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.532e-05/0.1686, allocations: 47.77 kB / 0.8357 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.1686, allocations: 8 kB / 0.8357 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002594/0.1689, allocations: 127.7 kB / 0.8358 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.42e-05/0.169, allocations: 55.8 kB / 0.8359 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.676e-05/0.169, allocations: 51.62 kB / 0.8359 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.1693, allocations: 239 kB / 0.8361 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1693, allocations: 0 / 0.8361 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1694, allocations: 0 / 0.8361 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.1694, allocations: 0 / 0.8361 GB, free: 4.734 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005706/0.1699, allocations: 420.9 kB / 0.8365 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.17, allocations: 9.344 kB / 0.8365 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.17, allocations: 38.75 kB / 0.8366 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.17, allocations: 20.8 kB / 0.8366 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.1702, allocations: 161.7 kB / 0.8368 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.1702, allocations: 384 / 0.8368 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.1702, allocations: 384 / 0.8368 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.1704, allocations: 65.59 kB / 0.8368 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1704, allocations: 0 / 0.8368 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.1704, allocations: 7.938 kB / 0.8368 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1704, allocations: 0 / 0.8368 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.1706, allocations: 59.95 kB / 0.8369 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.171, allocations: 303.9 kB / 0.8372 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.1712, allocations: 58.55 kB / 0.8372 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.705e-05/0.1713, allocations: 40.83 kB / 0.8373 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.691e-05/0.1713, allocations: 11.98 kB / 0.8373 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.1714, allocations: 38.5 kB / 0.8373 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1714, allocations: 4 kB / 0.8373 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.000375/0.1717, allocations: 133.5 kB / 0.8375 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.1718, allocations: 51.41 kB / 0.8375 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.172, allocations: 261.9 kB / 0.8378 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.172, allocations: 25.7 kB / 0.8378 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.345e-05/0.1721, allocations: 132.1 kB / 0.8379 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.1722, allocations: 7.953 kB / 0.8379 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.1722, allocations: 9.719 kB / 0.8379 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1723, allocations: 342.9 kB / 0.8382 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-05/0.1724, allocations: 31.97 kB / 0.8383 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-05/0.1725, allocations: 23.98 kB / 0.8383 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.1727, allocations: 68.75 kB / 0.8384 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1727, allocations: 0 / 0.8384 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002663/0.173, allocations: 113.6 kB / 0.8385 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.173, allocations: 7.938 kB / 0.8385 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.173, allocations: 0 / 0.8385 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.173, allocations: 0 / 0.8385 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.606e-05/0.1731, allocations: 19.98 kB / 0.8385 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.726e-06/0.1731, allocations: 0 / 0.8385 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.341e-05/0.1731, allocations: 7.938 kB / 0.8385 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.1731, allocations: 0 / 0.8385 GB, free: 2.113 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.1733, allocations: 142.4 kB / 0.8386 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.1733, allocations: 23.89 kB / 0.8387 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.1736, allocations: 122.5 kB / 0.8388 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1736, allocations: 0 / 0.8388 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1736, allocations: 0 / 0.8388 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.1736, allocations: 0 / 0.8388 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.1738, allocations: 188.6 kB / 0.839 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1738, allocations: 0 / 0.839 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.789e-05/0.1738, allocations: 11.98 kB / 0.839 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1738, allocations: 4.031 kB / 0.839 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.1738, allocations: 0 / 0.839 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.1738, allocations: 0 / 0.839 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1738, allocations: 3.938 kB / 0.839 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.1741, allocations: 211.2 kB / 0.8392 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.836e-05/0.1742, allocations: 15.89 kB / 0.8392 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.1742, allocations: 0 / 0.8392 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.087e-05/0.1743, allocations: 4 kB / 0.8392 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.1743, allocations: 12.02 kB / 0.8392 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.1743, allocations: 0 / 0.8392 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001735/0.1745, allocations: 189.2 kB / 0.8394 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1745, allocations: 4 kB / 0.8394 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002734/0.1747, allocations: 47.88 kB / 0.8394 GB, free: 1.078 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006802/0.1754, allocations: 0.7901 MB / 0.8402 GB, free: 268 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.1757, allocations: 63.98 kB / 0.8403 GB, free: 204 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1757, allocations: 0 / 0.8403 GB, free: 204 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.753e-05/0.1758, allocations: 31.97 kB / 0.8403 GB, free: 172 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.1762, allocations: 53.48 kB / 0.8404 GB, free: 124 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007597/0.177, allocations: 428.2 kB / 0.8408 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.1771, allocations: 118.8 kB / 0.8409 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.958e-05/0.1771, allocations: 7.984 kB / 0.8409 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.656e-05/0.1772, allocations: 51.42 kB / 0.8409 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.1772, allocations: 0 / 0.8409 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/0.2107, allocations: 4.824 MB / 0.8456 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.09, allocations: 2.344 kB / 0.8456 GB, free: 10.84 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.10485845990479] Failed to read output from testmodel.py, exit status != 0: 11.196763978805393 11.21259641 11.040297327 Calling exit ...