Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.001223/0.001223, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.001382/0.001382, allocations: 223.4 kB / 23.03 MB, free: 4.945 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.327/1.327, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 179] 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.002423/0.002423, allocations: 294.1 kB / 313.5 MB, free: 2.621 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.145/1.145, allocations: 180.6 MB / 0.5377 GB, free: 14.56 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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="cs",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.002661/0.002661, allocations: 92.67 kB / 0.7403 GB, free: 28.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1611, allocations: 95.38 MB / 0.8334 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00324/0.1644, allocations: 2.037 MB / 0.8354 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.166, allocations: 0.9942 MB / 0.8364 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.1661, allocations: 11.88 kB / 0.8364 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.707e-05/0.1662, allocations: 19.73 kB / 0.8364 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.1665, allocations: 95.2 kB / 0.8365 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.1669, allocations: 191.6 kB / 0.8367 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003373/0.1672, allocations: 298.7 kB / 0.837 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.1674, allocations: 45.08 kB / 0.837 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.1675, allocations: 119.5 kB / 0.8371 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.1677, allocations: 139.4 kB / 0.8373 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.1678, allocations: 20 kB / 0.8373 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004311/0.1682, allocations: 291.7 kB / 0.8376 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.022e-05/0.1682, allocations: 51.77 kB / 0.8376 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.984e-05/0.1683, allocations: 95.45 kB / 0.8377 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.1688, allocations: 338.5 kB / 0.838 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1688, allocations: 4 kB / 0.838 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1688, allocations: 0 / 0.838 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.1688, allocations: 0 / 0.838 GB, free: 3.574 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00107/0.1698, allocations: 0.5593 MB / 0.8386 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1699, allocations: 13.94 kB / 0.8386 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.245e-05/0.1699, allocations: 4.469 kB / 0.8386 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.17, allocations: 50.67 kB / 0.8386 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.1702, allocations: 40.73 kB / 0.8387 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.1706, allocations: 221.5 kB / 0.8389 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.1706, allocations: 12.66 kB / 0.8389 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.1706, allocations: 16.31 kB / 0.8389 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005547/0.1712, allocations: 236.5 kB / 0.8391 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.1712, allocations: 0 / 0.8391 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.1712, allocations: 4 kB / 0.8391 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1712, allocations: 4 kB / 0.8391 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006331/0.1718, allocations: 207.7 kB / 0.8393 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.173, allocations: 0.8791 MB / 0.8402 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007491/0.1737, allocations: 233.1 kB / 0.8404 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.174, allocations: 105.6 kB / 0.8405 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.1741, allocations: 4 kB / 0.8405 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.1741, allocations: 42.55 kB / 0.8406 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.1741, allocations: 0 / 0.8406 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.001129/0.1752, allocations: 333.5 kB / 0.8409 GB, free: 468 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.1753, allocations: 77.11 kB / 0.841 GB, free: 372 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.1756, allocations: 272.2 kB / 0.8412 GB, free: 96 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.1756, allocations: 29.7 kB / 0.8412 GB, free: 60 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.1757, allocations: 160.3 kB / 0.8414 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.007e-05/0.1758, allocations: 63.47 kB / 0.8415 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.375e-05/0.1758, allocations: 37.7 kB / 0.8415 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.176, allocations: 338.8 kB / 0.8418 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.1763, allocations: 87.91 kB / 0.8419 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/0.1766, allocations: 144.8 kB / 0.842 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006352/0.1773, allocations: 245.7 kB / 0.8423 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1773, allocations: 0 / 0.8423 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000803/0.1781, allocations: 301.1 kB / 0.8426 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1781, allocations: 6.5 kB / 0.8426 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1781, allocations: 0 / 0.8426 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.1781, allocations: 7.984 kB / 0.8426 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.1784, allocations: 59.89 kB / 0.8426 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.1784, allocations: 4 kB / 0.8426 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.1786, allocations: 39.98 kB / 0.8427 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.1786, allocations: 11.98 kB / 0.8427 GB, free: 14.52 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001301/0.1788, allocations: 142.3 kB / 0.8428 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.1789, allocations: 27.81 kB / 0.8428 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007986/0.1797, allocations: 291.8 kB / 0.8431 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1797, allocations: 4 kB / 0.8431 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1797, allocations: 0 / 0.8431 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1797, allocations: 288 / 0.8431 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.1801, allocations: 240.5 kB / 0.8434 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1801, allocations: 4 kB / 0.8434 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.1803, allocations: 59.89 kB / 0.8434 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1803, allocations: 3.938 kB / 0.8434 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.1803, allocations: 7.984 kB / 0.8434 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.1803, allocations: 3.984 kB / 0.8434 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1803, allocations: 3.938 kB / 0.8434 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008113/0.1811, allocations: 445 kB / 0.8439 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.09e-05/0.1812, allocations: 31.73 kB / 0.8439 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.1812, allocations: 8 kB / 0.8439 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.1815, allocations: 19.97 kB / 0.8439 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.778e-05/0.1815, allocations: 19.97 kB / 0.8439 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.1816, allocations: 8 kB / 0.8439 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001763/0.1817, allocations: 187.1 kB / 0.8441 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1817, allocations: 4 kB / 0.8441 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000344/0.1821, allocations: 63.89 kB / 0.8442 GB, free: 12.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001198/0.1833, allocations: 0.991 MB / 0.8452 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006977/0.184, allocations: 215.7 kB / 0.8454 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.184, allocations: 0 / 0.8454 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003341/0.1843, allocations: 112.2 kB / 0.8455 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.1848, allocations: 77.42 kB / 0.8455 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/0.1889, allocations: 2.716 MB / 0.8482 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.189, allocations: 151 kB / 0.8483 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001392/0.1892, allocations: 30.42 kB / 0.8484 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.1893, allocations: 87.41 kB / 0.8485 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.1893, allocations: 0 / 0.8485 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.2174, allocations: 7.216 MB / 0.8555 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.29, allocations: 7.438 kB / 0.8555 GB, free: 1.422 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.15556436299812] Failed to read output from testmodel.py, exit status != 0: 11.447565905982628 11.462635067999999 11.290972574 Calling exit ...