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.001492/0.001492, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001741/0.001741, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.359/1.359, allocations: 230.6 MB / 256 MB, free: 7.785 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.002617/0.002617, allocations: 302.2 kB / 312.7 MB, free: 2.57 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.156/1.156, allocations: 180.6 MB / 0.5369 GB, free: 14.5 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.00279/0.00279, allocations: 103.1 kB / 0.7395 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1684, allocations: 95.37 MB / 0.8327 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00352/0.1719, allocations: 2.035 MB / 0.8346 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.1738, allocations: 1.01 MB / 0.8356 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.174, allocations: 7.938 kB / 0.8356 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 7.088e-05/0.174, allocations: 27.61 kB / 0.8357 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000325/0.1744, allocations: 91.22 kB / 0.8357 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004937/0.1748, allocations: 191.6 kB / 0.8359 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004033/0.1753, allocations: 294.8 kB / 0.8362 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.1754, allocations: 45.12 kB / 0.8363 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.1756, allocations: 115.5 kB / 0.8364 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.1758, allocations: 131.4 kB / 0.8365 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.1759, allocations: 20 kB / 0.8365 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004383/0.1763, allocations: 275.6 kB / 0.8368 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.865e-05/0.1764, allocations: 47.78 kB / 0.8368 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.1765, allocations: 95.45 kB / 0.8369 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000436/0.1769, allocations: 338.5 kB / 0.8372 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1769, allocations: 0 / 0.8372 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1769, allocations: 0 / 0.8372 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.1769, allocations: 4 kB / 0.8372 GB, free: 3.457 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.001116/0.178, allocations: 0.5567 MB / 0.8378 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1781, allocations: 17.34 kB / 0.8378 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.156e-05/0.1781, allocations: 46.73 kB / 0.8378 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.1783, allocations: 44.67 kB / 0.8379 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.1787, allocations: 221.5 kB / 0.8381 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1788, allocations: 12.66 kB / 0.8381 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.1788, allocations: 12.38 kB / 0.8381 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005413/0.1793, allocations: 244.7 kB / 0.8383 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1793, allocations: 0 / 0.8383 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.1794, allocations: 4 kB / 0.8384 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.1794, allocations: 4 kB / 0.8384 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006619/0.18, allocations: 204.8 kB / 0.8386 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.1812, allocations: 0.8829 MB / 0.8394 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007562/0.182, allocations: 229.3 kB / 0.8396 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003316/0.1823, allocations: 105.6 kB / 0.8397 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.1824, allocations: 4 kB / 0.8397 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.1824, allocations: 42.5 kB / 0.8398 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.1824, allocations: 0 / 0.8398 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.001146/0.1835, allocations: 329.5 kB / 0.8401 GB, free: 356 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.1836, allocations: 85.03 kB / 0.8402 GB, free: 252 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.1839, allocations: 268.2 kB / 0.8404 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.1839, allocations: 33.7 kB / 0.8405 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.1841, allocations: 160.3 kB / 0.8406 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.1841, allocations: 55.55 kB / 0.8407 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.847e-05/0.1842, allocations: 37.7 kB / 0.8407 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1843, allocations: 346.8 kB / 0.841 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/0.1847, allocations: 83.92 kB / 0.8411 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.185, allocations: 144.5 kB / 0.8413 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006711/0.1857, allocations: 241.7 kB / 0.8415 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1857, allocations: 4 kB / 0.8415 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008378/0.1865, allocations: 297.8 kB / 0.8418 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1865, allocations: 12.03 kB / 0.8418 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1865, allocations: 0 / 0.8418 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1866, allocations: 4 kB / 0.8418 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.1868, allocations: 55.95 kB / 0.8418 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.1868, allocations: 8 kB / 0.8418 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.1871, allocations: 43.84 kB / 0.8419 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.1871, allocations: 8.031 kB / 0.8419 GB, free: 14.4 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.0001249/0.1872, allocations: 142.4 kB / 0.842 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.1873, allocations: 31.75 kB / 0.8421 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008132/0.1881, allocations: 291.1 kB / 0.8423 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1881, allocations: 4 kB / 0.8423 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1882, allocations: 0 / 0.8423 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1882, allocations: 0 / 0.8423 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003592/0.1885, allocations: 240.5 kB / 0.8426 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1885, allocations: 0 / 0.8426 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.1888, allocations: 63.88 kB / 0.8426 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1888, allocations: 0 / 0.8426 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.1888, allocations: 4 kB / 0.8426 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1888, allocations: 4 kB / 0.8426 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1888, allocations: 0 / 0.8426 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008429/0.1896, allocations: 442.4 kB / 0.8431 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.1897, allocations: 27.8 kB / 0.8431 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.1897, allocations: 8 kB / 0.8431 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.19, allocations: 23.97 kB / 0.8431 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.924e-05/0.19, allocations: 23.95 kB / 0.8431 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.1901, allocations: 8 kB / 0.8432 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001812/0.1902, allocations: 187.1 kB / 0.8433 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1902, allocations: 0 / 0.8433 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003521/0.1906, allocations: 67.88 kB / 0.8434 GB, free: 12.79 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.001244/0.1918, allocations: 0.987 MB / 0.8444 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007255/0.1926, allocations: 223.7 kB / 0.8446 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1926, allocations: 0 / 0.8446 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003445/0.1929, allocations: 112.1 kB / 0.8447 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.1934, allocations: 76.03 kB / 0.8448 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/0.1976, allocations: 2.712 MB / 0.8474 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.1978, allocations: 155 kB / 0.8475 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000141/0.1979, allocations: 30.3 kB / 0.8476 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.198, allocations: 87.41 kB / 0.8477 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.198, allocations: 0 / 0.8477 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03675/0.2348, allocations: 7.579 MB / 0.8551 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.91, allocations: 17.64 kB / 0.8551 GB, free: 0.918 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 sys.exit(0), Time elapsed: 14.807434032205492] Failed to read output from testmodel.py, exit status != 0: 11.009239403065294 11.025414058 10.845424154 Calling exit ...