Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0009562/0.0009562, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001167/0.001167, allocations: 214.6 kB / 22.26 MB, free: 3.852 MB / 13.93 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.9592/0.9592, allocations: 230.6 MB / 256 MB, free: 3.453 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7854/0.7854, allocations: 203.8 MB / 0.5042 GB, free: 0.7383 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.000878/0.000878, allocations: 63.89 kB / 0.7182 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4566/0.4575, allocations: 102 MB / 0.8179 GB, free: 24.93 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002102/0.4596, allocations: 1.611 MB / 0.8194 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.4607, allocations: 1.013 MB / 0.8204 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.382e-05/0.4607, allocations: 6.094 kB / 0.8204 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.4608, allocations: 5.25 kB / 0.8204 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.461, allocations: 25.59 kB / 0.8205 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.4613, allocations: 151.8 kB / 0.8206 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.4614, allocations: 85.38 kB / 0.8207 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.319e-05/0.4615, allocations: 14.42 kB / 0.8207 GB, free: 23 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.4616, allocations: 39.95 kB / 0.8207 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.014e-05/0.4617, allocations: 39.27 kB / 0.8208 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.4617, allocations: 6.156 kB / 0.8208 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003385/0.462, allocations: 282.6 kB / 0.8211 GB, free: 22.9 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.4621, allocations: 16.23 kB / 0.8211 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.4621, allocations: 31.14 kB / 0.8211 GB, free: 22.87 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.4623, allocations: 155.3 kB / 0.8213 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4623, allocations: 3.938 kB / 0.8213 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4623, allocations: 0 / 0.8213 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.4623, allocations: 5.844 kB / 0.8213 GB, free: 22.81 MB / 0.6355 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.0003892/0.4627, allocations: 343.3 kB / 0.8216 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.4628, allocations: 11.09 kB / 0.8216 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.148e-05/0.4628, allocations: 36.7 kB / 0.8216 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.4629, allocations: 34 kB / 0.8217 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.4631, allocations: 133.6 kB / 0.8218 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.4631, allocations: 5.984 kB / 0.8218 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.4631, allocations: 2.75 kB / 0.8218 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.4632, allocations: 64.58 kB / 0.8219 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.4632, allocations: 0 / 0.8219 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.4633, allocations: 0 / 0.8219 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4633, allocations: 2.094 kB / 0.8219 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.84e-05/0.4634, allocations: 56.7 kB / 0.8219 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002936/0.4636, allocations: 274.1 kB / 0.8222 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.124e-05/0.4637, allocations: 49.38 kB / 0.8222 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.477e-05/0.4638, allocations: 33.34 kB / 0.8223 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.4638, allocations: 1 kB / 0.8223 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.344e-05/0.4638, allocations: 36.28 kB / 0.8223 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 6.71e-07/0.4638, allocations: 0 / 0.8223 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0002305/0.464, allocations: 104.9 kB / 0.8224 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.4641, allocations: 52.56 kB / 0.8224 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.66e-05/0.4641, allocations: 139.7 kB / 0.8226 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.692e-06/0.4642, allocations: 26.36 kB / 0.8226 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.101e-05/0.4642, allocations: 98.05 kB / 0.8227 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.4642, allocations: 15.45 kB / 0.8227 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.4642, allocations: 24.33 kB / 0.8227 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.96e-05/0.4643, allocations: 324.3 kB / 0.823 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-05/0.4643, allocations: 19.7 kB / 0.8231 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.127e-05/0.4643, allocations: 22.34 kB / 0.8231 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.218e-05/0.4644, allocations: 67.81 kB / 0.8232 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4644, allocations: 0 / 0.8232 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001218/0.4646, allocations: 91.48 kB / 0.8232 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.4646, allocations: 6.984 kB / 0.8232 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4646, allocations: 0.7188 kB / 0.8232 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4646, allocations: 0.9062 kB / 0.8232 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.327e-05/0.4647, allocations: 13.81 kB / 0.8233 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.4647, allocations: 6.016 kB / 0.8233 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.791e-05/0.4647, allocations: 8.375 kB / 0.8233 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.4647, allocations: 1.969 kB / 0.8233 GB, free: 21.08 MB / 0.6355 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.852e-05/0.4647, allocations: 122.9 kB / 0.8234 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.4648, allocations: 7.984 kB / 0.8234 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.4649, allocations: 99.12 kB / 0.8235 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4649, allocations: 5.344 kB / 0.8235 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4649, allocations: 0 / 0.8235 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4649, allocations: 1.016 kB / 0.8235 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.4651, allocations: 155.7 kB / 0.8236 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4651, allocations: 1.156 kB / 0.8237 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.475e-05/0.4651, allocations: 13.53 kB / 0.8237 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4651, allocations: 0.5312 kB / 0.8237 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.4651, allocations: 2.391 kB / 0.8237 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.4651, allocations: 4.688 kB / 0.8237 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.4651, allocations: 0 / 0.8237 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.4653, allocations: 196.1 kB / 0.8239 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-06/0.4653, allocations: 7.719 kB / 0.8239 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.4653, allocations: 9.234 kB / 0.8239 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.208e-05/0.4653, allocations: 5.266 kB / 0.8239 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.4654, allocations: 4.781 kB / 0.8239 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.4654, allocations: 1.625 kB / 0.8239 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.605e-05/0.4654, allocations: 111.4 kB / 0.824 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4654, allocations: 0 / 0.824 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001788/0.4656, allocations: 23.08 kB / 0.824 GB, free: 20.45 MB / 0.6355 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.4659, allocations: 0.7354 MB / 0.8247 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.466, allocations: 57.38 kB / 0.8248 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.466, allocations: 1.25 kB / 0.8248 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.784e-05/0.466, allocations: 29.81 kB / 0.8248 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.4662, allocations: 21.39 kB / 0.8248 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008902/0.4671, allocations: 1.473 MB / 0.8263 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.079e-05/0.4672, allocations: 0.6982 MB / 0.827 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.558e-05/0.4672, allocations: 5.156 kB / 0.827 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.4673, allocations: 26.58 kB / 0.827 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of SimCode: time 6.22e-07/0.4673, allocations: 4 kB / 0.827 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/0.4821, allocations: 2.489 MB / 0.8294 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.026/7.508, allocations: 8.781 kB / 0.8294 GB, free: 17.27 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.425067803822458] Failed to read output from testmodel.py, exit status != 0: 7.587114094058052 7.603703438 7.13776132 Calling exit ...