Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 110.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002316/0.002316, allocations: 290.9 kB / 303 MB, free: 9.496 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.141/1.141, allocations: 180.9 MB / 0.5261 GB, free: 14.66 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002656/0.002656, allocations: 106.5 kB / 0.7248 GB, free: 39.97 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.165, allocations: 94.17 MB / 0.8167 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00283/0.1678, allocations: 1.569 MB / 0.8183 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1693, allocations: 0.9178 MB / 0.8192 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.992e-05/0.1694, allocations: 0 / 0.8192 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.1694, allocations: 11.92 kB / 0.8192 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.1696, allocations: 27.78 kB / 0.8192 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.17, allocations: 139.6 kB / 0.8193 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.1701, allocations: 75.7 kB / 0.8194 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.034e-05/0.1702, allocations: 8 kB / 0.8194 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.786e-05/0.1703, allocations: 39.84 kB / 0.8195 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.1704, allocations: 35.84 kB / 0.8195 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.1704, allocations: 4 kB / 0.8195 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003882/0.1708, allocations: 279.6 kB / 0.8198 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.1708, allocations: 19.92 kB / 0.8198 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.1709, allocations: 27.86 kB / 0.8198 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.1711, allocations: 155.6 kB / 0.82 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1711, allocations: 0 / 0.82 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1711, allocations: 3.938 kB / 0.82 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.1711, allocations: 0 / 0.82 GB, free: 2.082 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006165/0.1718, allocations: 421.4 kB / 0.8204 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1718, allocations: 8.031 kB / 0.8204 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.626e-05/0.1718, allocations: 30.75 kB / 0.8204 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.1719, allocations: 16.88 kB / 0.8204 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.1722, allocations: 192.2 kB / 0.8206 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.1722, allocations: 384 / 0.8206 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.1722, allocations: 4.375 kB / 0.8206 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.1724, allocations: 65.8 kB / 0.8207 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1724, allocations: 3.938 kB / 0.8207 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1724, allocations: 4 kB / 0.8207 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1724, allocations: 4 kB / 0.8207 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.1726, allocations: 43.95 kB / 0.8207 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.173, allocations: 292.8 kB / 0.821 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.1731, allocations: 54.55 kB / 0.821 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.612e-05/0.1732, allocations: 32.91 kB / 0.8211 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.1732, allocations: 0 / 0.8211 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.1733, allocations: 30.56 kB / 0.8211 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.1733, allocations: 0 / 0.8211 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0003507/0.1736, allocations: 109.6 kB / 0.8212 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.1737, allocations: 55.41 kB / 0.8213 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.1738, allocations: 129.8 kB / 0.8214 GB, free: 428 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1738, allocations: 25.7 kB / 0.8214 GB, free: 396 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/0.1739, allocations: 92.14 kB / 0.8215 GB, free: 300 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.1739, allocations: 19.91 kB / 0.8215 GB, free: 280 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/0.1739, allocations: 21.72 kB / 0.8215 GB, free: 252 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1741, allocations: 326.8 kB / 0.8219 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.497e-05/0.1742, allocations: 23.92 kB / 0.8219 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-05/0.1742, allocations: 23.92 kB / 0.8219 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.1744, allocations: 52.83 kB / 0.8219 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1744, allocations: 0 / 0.8219 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002132/0.1746, allocations: 98.06 kB / 0.822 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1746, allocations: 4 kB / 0.822 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.1746, allocations: 11.97 kB / 0.8221 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1746, allocations: 0 / 0.8221 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.1747, allocations: 8 kB / 0.8221 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.1747, allocations: 7.922 kB / 0.8221 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.708e-05/0.1748, allocations: 7.953 kB / 0.8221 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1748, allocations: 4 kB / 0.8221 GB, free: 15.67 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 (6): * Single equations (assignments): 6 * 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 9.586e-05/0.1749, allocations: 121.8 kB / 0.8222 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.1749, allocations: 3.953 kB / 0.8222 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.1752, allocations: 105.9 kB / 0.8223 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1752, allocations: 0 / 0.8223 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1752, allocations: 0 / 0.8223 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1752, allocations: 0 / 0.8223 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.1754, allocations: 185.6 kB / 0.8225 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1754, allocations: 3.984 kB / 0.8225 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.619e-05/0.1755, allocations: 23.94 kB / 0.8225 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1755, allocations: 0 / 0.8225 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.1755, allocations: 3.984 kB / 0.8225 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1755, allocations: 0 / 0.8225 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1755, allocations: 0 / 0.8225 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.1758, allocations: 183.4 kB / 0.8227 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.1758, allocations: 89.05 kB / 0.8228 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.1758, allocations: 4 kB / 0.8228 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.542e-05/0.1759, allocations: 4 kB / 0.8228 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.176, allocations: 7.984 kB / 0.8228 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.176, allocations: 0 / 0.8228 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.796e-05/0.176, allocations: 101.3 kB / 0.8229 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.176, allocations: 0 / 0.8229 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002301/0.1763, allocations: 23.94 kB / 0.8229 GB, free: 14.73 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 (6): * Single equations (assignments): 6 * 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.000646/0.1769, allocations: 0.7437 MB / 0.8236 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001979/0.1771, allocations: 51.97 kB / 0.8237 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1771, allocations: 3.938 kB / 0.8237 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.593e-05/0.1772, allocations: 27.92 kB / 0.8237 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.1775, allocations: 27.91 kB / 0.8237 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.1791, allocations: 1.456 MB / 0.8252 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.1795, allocations: 0.6924 MB / 0.8258 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.145e-05/0.1795, allocations: 7.75 kB / 0.8258 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.968e-05/0.1795, allocations: 27.42 kB / 0.8259 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.1795, allocations: 0 / 0.8259 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.2042, allocations: 2.344 MB / 0.8282 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.539/7.744, allocations: 4.984 kB / 0.8282 GB, free: 9.371 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.542225275654346] Failed to read output from testmodel.py, exit status != 0: 7.807558163069189 7.820230333 7.646381209 Calling exit ...