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.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.0007373/0.0007373, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008158/0.0008158, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8522/0.8522, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 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.001474/0.001474, allocations: 233.7 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.653/0.653, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.7 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.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 1.573e-06/1.573e-06, allocations: 0 / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.442e-05/1.599e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001751/0.001767, allocations: 1.588 MB / 0.6479 GB, free: 268 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2107/0.2125, allocations: 0.9105 MB / 0.6487 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.178e-05/0.2126, allocations: 2.781 kB / 0.6487 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.632e-05/0.2126, allocations: 5.531 kB / 0.6487 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.2128, allocations: 31.19 kB / 0.6488 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.2131, allocations: 162.8 kB / 0.6489 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.2132, allocations: 79.62 kB / 0.649 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.352e-05/0.2133, allocations: 10.94 kB / 0.649 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.2134, allocations: 50.27 kB / 0.6491 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.862e-05/0.2135, allocations: 28.39 kB / 0.6491 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.2135, allocations: 5.469 kB / 0.6491 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.2138, allocations: 272.2 kB / 0.6494 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.2138, allocations: 17.12 kB / 0.6494 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.2138, allocations: 22 kB / 0.6494 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.2141, allocations: 189.2 kB / 0.6496 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2141, allocations: 0 / 0.6496 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2141, allocations: 1.594 kB / 0.6496 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.2141, allocations: 0 / 0.6496 GB, free: 55.75 MB / 0.5573 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.0003682/0.2145, allocations: 338.5 kB / 0.6499 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.2145, allocations: 11.84 kB / 0.6499 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.32e-05/0.2145, allocations: 36.77 kB / 0.6499 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.2147, allocations: 34.08 kB / 0.65 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.2148, allocations: 136.7 kB / 0.6501 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.2148, allocations: 1.406 kB / 0.6501 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.2149, allocations: 3.844 kB / 0.6501 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.215, allocations: 60.83 kB / 0.6502 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.215, allocations: 2.938 kB / 0.6502 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.215, allocations: 9.125 kB / 0.6502 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.215, allocations: 0.9062 kB / 0.6502 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.405e-05/0.2151, allocations: 44.22 kB / 0.6502 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.2154, allocations: 260.5 kB / 0.6505 GB, free: 55 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.445e-05/0.2155, allocations: 57.84 kB / 0.6505 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.607e-05/0.2155, allocations: 26.83 kB / 0.6506 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.2155, allocations: 1.344 kB / 0.6506 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.2156, allocations: 36.7 kB / 0.6506 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.2156, allocations: 4.5 kB / 0.6506 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5): time 0.0002331/0.2158, allocations: 104.9 kB / 0.6507 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.865e-05/0.2158, allocations: 57.72 kB / 0.6508 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.113e-05/0.2159, allocations: 129.7 kB / 0.6509 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.2159, allocations: 30.92 kB / 0.6509 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.75e-05/0.2159, allocations: 101.3 kB / 0.651 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.2159, allocations: 19.86 kB / 0.651 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.2159, allocations: 20.75 kB / 0.651 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.813e-05/0.216, allocations: 323.9 kB / 0.6513 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.358e-05/0.216, allocations: 23.53 kB / 0.6514 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.812e-05/0.216, allocations: 22.84 kB / 0.6514 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.401e-05/0.2161, allocations: 57.45 kB / 0.6514 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2161, allocations: 0 / 0.6514 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001187/0.2163, allocations: 97.09 kB / 0.6515 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.2163, allocations: 5.5 kB / 0.6515 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2163, allocations: 0 / 0.6515 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.2163, allocations: 1.219 kB / 0.6515 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.075e-05/0.2164, allocations: 14.94 kB / 0.6516 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.2164, allocations: 1.031 kB / 0.6516 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.866e-05/0.2164, allocations: 5.234 kB / 0.6516 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.2164, allocations: 4.141 kB / 0.6516 GB, free: 54.21 MB / 0.5573 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 3.953e-05/0.2164, allocations: 121 kB / 0.6517 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.2165, allocations: 12.95 kB / 0.6517 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.2166, allocations: 101.1 kB / 0.6518 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2166, allocations: 1.75 kB / 0.6518 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2166, allocations: 2.594 kB / 0.6518 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2166, allocations: 1.219 kB / 0.6518 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.403e-05/0.2167, allocations: 158.8 kB / 0.652 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2167, allocations: 0 / 0.652 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/0.2167, allocations: 13.02 kB / 0.652 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2167, allocations: 2.188 kB / 0.652 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.2167, allocations: 1.891 kB / 0.652 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.2167, allocations: 0 / 0.652 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.2167, allocations: 0 / 0.652 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.2169, allocations: 196.5 kB / 0.6522 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-06/0.2169, allocations: 9.641 kB / 0.6522 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.2169, allocations: 3.938 kB / 0.6522 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.041e-05/0.2169, allocations: 4.75 kB / 0.6522 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.217, allocations: 5.469 kB / 0.6522 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.217, allocations: 1.969 kB / 0.6522 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.058e-05/0.217, allocations: 104.8 kB / 0.6523 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.217, allocations: 2.406 kB / 0.6523 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001601/0.2172, allocations: 24.22 kB / 0.6523 GB, free: 53.67 MB / 0.5573 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.0002728/0.2174, allocations: 0.7405 MB / 0.653 GB, free: 53 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.2176, allocations: 53.41 kB / 0.6531 GB, free: 53 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.2176, allocations: 0.5625 kB / 0.6531 GB, free: 53 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.436e-05/0.2176, allocations: 39.62 kB / 0.6531 GB, free: 52.99 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.2178, allocations: 11.7 kB / 0.6531 GB, free: 52.99 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008382/0.2186, allocations: 1.469 MB / 0.6546 GB, free: 51.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.798e-05/0.2187, allocations: 83.45 kB / 0.6546 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.048e-05/0.2187, allocations: 6.734 kB / 0.6547 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.2187, allocations: 26.53 kB / 0.6547 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of SimCode: time 3e-07/0.2187, allocations: 0 / 0.6547 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.2349, allocations: 3.09 MB / 0.6577 GB, free: 50.86 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.551/6.786, allocations: 7.531 kB / 0.6577 GB, free: 50.86 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.223093611188233] Failed to read output from testmodel.py, exit status != 0: 6.866684501990676 6.874414155 6.658629246 Calling exit ...