Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0007868/0.0007868, 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.0008873/0.0008873, allocations: 221.7 kB / 22.26 MB, free: 3.691 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.9111/0.9111, allocations: 230.6 MB / 256 MB, free: 9.797 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.8047/0.8047, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.0009666/0.0009666, allocations: 65.12 kB / 0.7182 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.552/0.553, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002887/0.5559, allocations: 2.161 MB / 0.82 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001783/0.5576, allocations: 1.096 MB / 0.8211 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.5578, allocations: 10.12 kB / 0.8211 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.415e-05/0.5579, allocations: 28.66 kB / 0.8211 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003587/0.5582, allocations: 77.67 kB / 0.8212 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.5588, allocations: 198.5 kB / 0.8214 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003492/0.5591, allocations: 302.6 kB / 0.8216 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.5593, allocations: 47.47 kB / 0.8217 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.5595, allocations: 114.7 kB / 0.8218 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.5597, allocations: 141 kB / 0.8219 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.522e-05/0.5597, allocations: 18.16 kB / 0.8219 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004406/0.5602, allocations: 293.8 kB / 0.8222 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.266e-05/0.5602, allocations: 54.31 kB / 0.8223 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.5603, allocations: 120.1 kB / 0.8224 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004709/0.5608, allocations: 341 kB / 0.8227 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.5608, allocations: 1.375 kB / 0.8227 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.625e-06/0.5608, allocations: 0 / 0.8227 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.5608, allocations: 0 / 0.8227 GB, free: 14.21 MB / 0.6198 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.0008576/0.5617, allocations: 0.5502 MB / 0.8233 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.5617, allocations: 8.781 kB / 0.8233 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.014e-05/0.5618, allocations: 46.67 kB / 0.8233 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.562, allocations: 39.23 kB / 0.8233 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.5624, allocations: 230.8 kB / 0.8236 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.5624, allocations: 14.41 kB / 0.8236 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.5625, allocations: 14.84 kB / 0.8236 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004454/0.5629, allocations: 232.5 kB / 0.8238 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.5629, allocations: 0 / 0.8238 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.5629, allocations: 6.438 kB / 0.8238 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.563, allocations: 4.094 kB / 0.8238 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004308/0.5634, allocations: 201.3 kB / 0.824 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.5645, allocations: 0.9034 MB / 0.8249 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005586/0.5651, allocations: 235.8 kB / 0.8251 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.5653, allocations: 108.2 kB / 0.8252 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.5653, allocations: 6.484 kB / 0.8252 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.5653, allocations: 32.22 kB / 0.8253 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 3.046e-06/0.5653, allocations: 1.094 kB / 0.8253 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001078/0.5664, allocations: 335.5 kB / 0.8256 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.5664, allocations: 84.28 kB / 0.8257 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.5667, allocations: 266.4 kB / 0.8259 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.5667, allocations: 27.11 kB / 0.8259 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.5668, allocations: 166.3 kB / 0.8261 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.5669, allocations: 62.22 kB / 0.8262 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/0.567, allocations: 41.08 kB / 0.8262 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.5671, allocations: 336 kB / 0.8265 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.5673, allocations: 96.67 kB / 0.8266 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.5675, allocations: 139.4 kB / 0.8268 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003896/0.5679, allocations: 250.1 kB / 0.827 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.5679, allocations: 3.938 kB / 0.827 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005492/0.5685, allocations: 291.2 kB / 0.8273 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.5685, allocations: 8.062 kB / 0.8273 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.5685, allocations: 1.938 kB / 0.8273 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.5685, allocations: 2.625 kB / 0.8273 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.5687, allocations: 65.16 kB / 0.8273 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.5687, allocations: 7.047 kB / 0.8274 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.5689, allocations: 39.38 kB / 0.8274 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.5689, allocations: 10.48 kB / 0.8274 GB, free: 11.11 MB / 0.6198 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.0001269/0.569, allocations: 133.2 kB / 0.8275 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.02e-05/0.5691, allocations: 31.38 kB / 0.8276 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007384/0.5698, allocations: 291.2 kB / 0.8278 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.5698, allocations: 2.656 kB / 0.8278 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.5698, allocations: 0.6562 kB / 0.8278 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.5698, allocations: 6.266 kB / 0.8278 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/0.5704, allocations: 265.6 kB / 0.8281 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.5704, allocations: 2.266 kB / 0.8281 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.5705, allocations: 58.34 kB / 0.8282 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.5705, allocations: 1.125 kB / 0.8282 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.5706, allocations: 6.141 kB / 0.8282 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.5706, allocations: 1.406 kB / 0.8282 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5706, allocations: 1.219 kB / 0.8282 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006173/0.5712, allocations: 447 kB / 0.8286 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.5712, allocations: 29.28 kB / 0.8286 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.5713, allocations: 10.83 kB / 0.8286 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.5714, allocations: 26.73 kB / 0.8287 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/0.5715, allocations: 18.8 kB / 0.8287 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.5715, allocations: 8.797 kB / 0.8287 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001783/0.5717, allocations: 187.6 kB / 0.8289 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5717, allocations: 0 / 0.8289 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003292/0.572, allocations: 62.66 kB / 0.8289 GB, free: 10.19 MB / 0.6198 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.001015/0.573, allocations: 0.9857 MB / 0.8299 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005488/0.5736, allocations: 221.9 kB / 0.8301 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5736, allocations: 0 / 0.8301 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.5738, allocations: 109.2 kB / 0.8302 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.5743, allocations: 76.55 kB / 0.8303 GB, free: 9.277 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003891/0.5782, allocations: 2.726 MB / 0.8329 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.5785, allocations: 0.7512 MB / 0.8337 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000237/0.5787, allocations: 38.19 kB / 0.8337 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.5789, allocations: 89.27 kB / 0.8338 GB, free: 6.633 MB / 0.6198 GB Notification: Performance of SimCode: time 1.704e-06/0.5789, allocations: 1.094 kB / 0.8338 GB, free: 6.633 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03069/0.6096, allocations: 6.774 MB / 0.8404 GB, free: 4.438 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.395/8.005, allocations: 20.7 kB / 0.8404 GB, free: 4.422 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.948440819978714] Failed to read output from testmodel.py, exit status != 0: 8.085104668978602 8.095107544 7.531784332 Calling exit ...