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.001624/0.001624, allocations: 92.22 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.001773/0.001773, allocations: 169 kB / 23.02 MB, free: 1.551 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.8998/0.8998, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.7532/0.7532, allocations: 154.6 MB / 414.5 MB, free: 0.6836 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 1.413e-06/1.413e-06, allocations: 0 / 0.5203 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.211e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004244/0.004266, allocations: 4.685 MB / 0.5249 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0006732/0.004939, allocations: 0.8336 MB / 0.5257 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.407e-05/0.004983, allocations: 4.562 kB / 0.5257 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.005126, allocations: 23.78 kB / 0.5258 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.922e-05/0.005166, allocations: 33.41 kB / 0.5258 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003936/0.005559, allocations: 185.4 kB / 0.526 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.005691, allocations: 183.3 kB / 0.5261 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.326e-05/0.005764, allocations: 9.797 kB / 0.5262 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.005906, allocations: 112.3 kB / 0.5263 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.995e-05/0.005976, allocations: 64.8 kB / 0.5263 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.005995, allocations: 12 kB / 0.5263 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.006198, allocations: 144.6 kB / 0.5265 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.2e-05/0.00622, allocations: 27.91 kB / 0.5265 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.006262, allocations: 57.52 kB / 0.5266 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.006502, allocations: 211.4 kB / 0.5268 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.006504, allocations: 0 / 0.5268 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.61e-07/0.006505, allocations: 0 / 0.5268 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.006509, allocations: 0 / 0.5268 GB, free: 11.63 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.0004879/0.006996, allocations: 497.5 kB / 0.5272 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.007027, allocations: 12.77 kB / 0.5272 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.00707, allocations: 24.84 kB / 0.5273 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.218e-05/0.007152, allocations: 137 kB / 0.5274 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.007165, allocations: 8.375 kB / 0.5274 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.007183, allocations: 12.38 kB / 0.5274 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.007338, allocations: 95.88 kB / 0.5275 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.007345, allocations: 192 / 0.5275 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.007357, allocations: 8.125 kB / 0.5275 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.007362, allocations: 1.156 kB / 0.5275 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.491e-05/0.007457, allocations: 58.23 kB / 0.5276 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.007987, allocations: 430.4 kB / 0.528 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.008145, allocations: 86.06 kB / 0.5281 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.545e-05/0.008191, allocations: 35.61 kB / 0.5281 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005939/0.008785, allocations: 0.5479 MB / 0.5286 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.008805, allocations: 45.33 kB / 0.5287 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.008806, allocations: 0 / 0.5287 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0001937/0.009, allocations: 108.7 kB / 0.5288 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.009023, allocations: 55.41 kB / 0.5288 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.00913, allocations: 223.4 kB / 0.529 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.009143, allocations: 29.7 kB / 0.5291 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.009203, allocations: 153.7 kB / 0.5292 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.009224, allocations: 43.64 kB / 0.5293 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/0.009277, allocations: 55.36 kB / 0.5293 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.009386, allocations: 0.5078 MB / 0.5298 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.432e-05/0.009441, allocations: 27.98 kB / 0.5298 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-05/0.009516, allocations: 78 kB / 0.5299 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.009627, allocations: 107.9 kB / 0.53 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.009629, allocations: 4 kB / 0.53 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001855/0.009815, allocations: 162.5 kB / 0.5302 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.009825, allocations: 4 kB / 0.5302 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.00983, allocations: 4 kB / 0.5302 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.009842, allocations: 5.641 kB / 0.5302 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.009972, allocations: 51.91 kB / 0.5302 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.009976, allocations: 0 / 0.5302 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.253e-05/0.01004, allocations: 38.14 kB / 0.5303 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.01006, allocations: 12 kB / 0.5303 GB, free: 7.801 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 6.475e-05/0.01012, allocations: 164.5 kB / 0.5304 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.01014, allocations: 7.953 kB / 0.5304 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.01028, allocations: 107.1 kB / 0.5305 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.01028, allocations: 0 / 0.5305 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.01028, allocations: 6.062 kB / 0.5306 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.01028, allocations: 3.938 kB / 0.5306 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.0104, allocations: 164.4 kB / 0.5307 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.0104, allocations: 0 / 0.5307 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.839e-05/0.01046, allocations: 27.92 kB / 0.5307 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.01046, allocations: 1.281 kB / 0.5307 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.01047, allocations: 4 kB / 0.5307 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01047, allocations: 3.984 kB / 0.5307 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01047, allocations: 5.641 kB / 0.5308 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.0106, allocations: 243.8 kB / 0.531 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.844e-05/0.01063, allocations: 15.94 kB / 0.531 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.01064, allocations: 7.984 kB / 0.531 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.876e-05/0.01069, allocations: 4.625 kB / 0.531 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.01073, allocations: 11.98 kB / 0.531 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.01073, allocations: 8.875 kB / 0.531 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.408e-05/0.01078, allocations: 161.2 kB / 0.5312 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01078, allocations: 0 / 0.5312 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002079/0.01099, allocations: 65.36 kB / 0.5313 GB, free: 6.746 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.0001707/0.01116, allocations: 152.6 kB / 0.5314 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001572/0.01132, allocations: 102.4 kB / 0.5315 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.01132, allocations: 0.6562 kB / 0.5315 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.46e-05/0.01137, allocations: 43.61 kB / 0.5315 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.01157, allocations: 25.05 kB / 0.5316 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.01204, allocations: 249.5 kB / 0.5318 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.464e-05/0.01207, allocations: 63.84 kB / 0.5319 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.407e-05/0.01212, allocations: 22.66 kB / 0.5319 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.01217, allocations: 20.5 kB / 0.5319 GB, free: 6.031 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.01217, allocations: 0 / 0.5319 GB, free: 6.031 MB / 0.4948 GB Notification: Performance of Templates: time 0.004024/0.01619, allocations: 2.782 MB / 0.5346 GB, free: 3.434 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.6543885357677937]