Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.001436/0.001436, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 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.001885/0.001885, allocations: 169 kB / 23.02 MB, free: 1.547 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.9738/0.9738, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7594/0.7594, allocations: 154.6 MB / 414.5 MB, free: 0.6602 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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: translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.5203 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.243e-05, allocations: 7.625 kB / 0.5203 GB, free: 2.176 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00809/0.008123, allocations: 4.68 MB / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.009407, allocations: 0.8336 MB / 0.5257 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.317e-05/0.0095, allocations: 0 / 0.5257 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.009723, allocations: 32.72 kB / 0.5258 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.14e-05/0.009804, allocations: 36.17 kB / 0.5258 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007358/0.01054, allocations: 187.8 kB / 0.526 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.01079, allocations: 179.2 kB / 0.5261 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.0109, allocations: 21.22 kB / 0.5262 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002834/0.01118, allocations: 103.8 kB / 0.5263 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.0113, allocations: 63.84 kB / 0.5263 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.01134, allocations: 16 kB / 0.5263 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.01169, allocations: 140.6 kB / 0.5265 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.495e-05/0.01172, allocations: 32.44 kB / 0.5265 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.504e-05/0.01179, allocations: 51.83 kB / 0.5266 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004196/0.01221, allocations: 208.4 kB / 0.5268 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.01221, allocations: 0 / 0.5268 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.503e-06/0.01221, allocations: 5.594 kB / 0.5268 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.01222, allocations: 0 / 0.5268 GB, free: 11.62 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009467/0.01317, allocations: 0.4889 MB / 0.5272 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.01322, allocations: 9.469 kB / 0.5272 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.522e-05/0.01331, allocations: 28.77 kB / 0.5273 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.01347, allocations: 128 kB / 0.5274 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.01349, allocations: 8.375 kB / 0.5274 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.01351, allocations: 11.12 kB / 0.5274 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.0138, allocations: 101.1 kB / 0.5275 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.01381, allocations: 192 / 0.5275 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.01382, allocations: 8.125 kB / 0.5275 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.01384, allocations: 0 / 0.5275 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.014, allocations: 59.89 kB / 0.5276 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009893/0.01499, allocations: 422.5 kB / 0.528 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.01518, allocations: 87 kB / 0.5281 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.477e-05/0.01525, allocations: 36.42 kB / 0.5281 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/0.01646, allocations: 0.5516 MB / 0.5286 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.01648, allocations: 36.14 kB / 0.5287 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.933e-06/0.01649, allocations: 0 / 0.5287 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0002369/0.01672, allocations: 117.2 kB / 0.5288 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.01675, allocations: 51.41 kB / 0.5288 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.01688, allocations: 223.4 kB / 0.529 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.01689, allocations: 33.64 kB / 0.5291 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.01696, allocations: 151.3 kB / 0.5292 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.01698, allocations: 47.56 kB / 0.5293 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.01704, allocations: 53.8 kB / 0.5293 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.01716, allocations: 0.504 MB / 0.5298 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-05/0.01722, allocations: 27.97 kB / 0.5298 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.896e-05/0.0173, allocations: 78 kB / 0.5299 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.01742, allocations: 107.6 kB / 0.53 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.01742, allocations: 0 / 0.53 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002082/0.01763, allocations: 167.7 kB / 0.5302 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.01765, allocations: 8 kB / 0.5302 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01765, allocations: 0 / 0.5302 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.01767, allocations: 4 kB / 0.5302 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.01782, allocations: 51.91 kB / 0.5302 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.01783, allocations: 4.875 kB / 0.5302 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.273e-05/0.01789, allocations: 31.77 kB / 0.5303 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.01791, allocations: 4.719 kB / 0.5303 GB, free: 7.797 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 7.3e-05/0.01798, allocations: 169.7 kB / 0.5304 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.018, allocations: 11.95 kB / 0.5304 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.01817, allocations: 111.7 kB / 0.5306 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01817, allocations: 0 / 0.5306 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.01817, allocations: 0.6875 kB / 0.5306 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01818, allocations: 0 / 0.5306 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.0183, allocations: 161 kB / 0.5307 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.0183, allocations: 7.938 kB / 0.5307 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.323e-05/0.01837, allocations: 25.42 kB / 0.5307 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01837, allocations: 4 kB / 0.5307 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.01838, allocations: 0 / 0.5307 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.01838, allocations: 1.125 kB / 0.5307 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.01838, allocations: 0 / 0.5307 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.01853, allocations: 251.8 kB / 0.531 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.01856, allocations: 20.84 kB / 0.531 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.01857, allocations: 4 kB / 0.531 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.023e-05/0.01862, allocations: 12.58 kB / 0.531 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.01867, allocations: 11.98 kB / 0.531 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.01868, allocations: 4.75 kB / 0.531 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.817e-05/0.01874, allocations: 149.3 kB / 0.5312 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01874, allocations: 0.5 kB / 0.5312 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002341/0.01897, allocations: 69.11 kB / 0.5312 GB, free: 6.742 MB / 0.4948 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 (12): * Single equations (assignments): 12 * 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.0002255/0.0192, allocations: 165.2 kB / 0.5314 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001695/0.01937, allocations: 98.69 kB / 0.5315 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01937, allocations: 0 / 0.5315 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.493e-05/0.01941, allocations: 41.77 kB / 0.5315 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.01964, allocations: 33.64 kB / 0.5316 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005679/0.02021, allocations: 240.5 kB / 0.5318 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.482e-05/0.02026, allocations: 67.84 kB / 0.5319 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.251e-05/0.02032, allocations: 18.86 kB / 0.5319 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.02036, allocations: 21.78 kB / 0.5319 GB, free: 6.02 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/0.02036, allocations: 3.938 kB / 0.5319 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of Templates: time 0.005014/0.02538, allocations: 3.111 MB / 0.5349 GB, free: 3.09 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6188683127984405]