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.001426/0.001426, allocations: 78.72 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001529/0.001529, allocations: 167.3 kB / 22.46 MB, free: 5.363 MB / 14.72 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 1.436/1.436, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.191/1.191, allocations: 154.6 MB / 413.8 MB, free: 5.227 MB / 382.1 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 178] 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.963e-06/1.963e-06, allocations: 0 / 0.6186 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.962e-05/3.158e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007384/0.007415, allocations: 4.4 MB / 0.6229 GB, free: 120 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.00879, allocations: 0.7593 MB / 0.6236 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.008903, allocations: 0 / 0.6236 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.009145, allocations: 31.78 kB / 0.6237 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.009263, allocations: 35.64 kB / 0.6237 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006822/0.009945, allocations: 171.3 kB / 0.6239 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.01023, allocations: 183.3 kB / 0.624 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.358e-05/0.01032, allocations: 9.297 kB / 0.6241 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002773/0.0106, allocations: 115.7 kB / 0.6242 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.01072, allocations: 63.84 kB / 0.6242 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.01075, allocations: 12 kB / 0.6242 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003526/0.01111, allocations: 135.8 kB / 0.6244 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.432e-05/0.01115, allocations: 35.89 kB / 0.6244 GB, free: 14.58 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.114e-05/0.01122, allocations: 51.84 kB / 0.6245 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004795/0.0117, allocations: 263.2 kB / 0.6247 GB, free: 14.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.01171, allocations: 0 / 0.6247 GB, free: 14.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.794e-06/0.01171, allocations: 0 / 0.6247 GB, free: 14.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.01172, allocations: 3.938 kB / 0.6247 GB, free: 14.27 MB / 0.545 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.001045/0.01277, allocations: 405.4 kB / 0.6251 GB, free: 13.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.01282, allocations: 16.03 kB / 0.6251 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.416e-05/0.01289, allocations: 12.84 kB / 0.6251 GB, free: 13.81 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.01305, allocations: 125.6 kB / 0.6252 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.01308, allocations: 8.375 kB / 0.6252 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.01311, allocations: 12.38 kB / 0.6253 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/0.01348, allocations: 122.1 kB / 0.6254 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.0135, allocations: 4.188 kB / 0.6254 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.01352, allocations: 8.125 kB / 0.6254 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.01352, allocations: 0 / 0.6254 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004614/0.01398, allocations: 143.9 kB / 0.6255 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.01501, allocations: 376.3 kB / 0.6259 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.01534, allocations: 114.5 kB / 0.626 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.01556, allocations: 68.69 kB / 0.6261 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/0.01686, allocations: 476.1 kB / 0.6265 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.01688, allocations: 30.56 kB / 0.6265 GB, free: 12.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.01689, allocations: 7.938 kB / 0.6265 GB, free: 12.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0007605/0.01765, allocations: 201.5 kB / 0.6267 GB, free: 12.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.0177, allocations: 59.39 kB / 0.6268 GB, free: 11.97 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.01788, allocations: 161.4 kB / 0.627 GB, free: 11.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.0179, allocations: 33.64 kB / 0.627 GB, free: 11.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.281e-05/0.018, allocations: 116.5 kB / 0.6271 GB, free: 11.64 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.01803, allocations: 43.64 kB / 0.6271 GB, free: 11.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.591e-05/0.01813, allocations: 45.7 kB / 0.6272 GB, free: 11.55 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.01828, allocations: 326.8 kB / 0.6275 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.01854, allocations: 79.88 kB / 0.6276 GB, free: 11.14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.01882, allocations: 111.8 kB / 0.6277 GB, free: 11.03 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004896/0.01931, allocations: 175.1 kB / 0.6278 GB, free: 10.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01931, allocations: 0 / 0.6278 GB, free: 10.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006693/0.01998, allocations: 252.6 kB / 0.6281 GB, free: 10.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.02, allocations: 4 kB / 0.6281 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.02001, allocations: 4 kB / 0.6281 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.02003, allocations: 3.984 kB / 0.6281 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.02032, allocations: 55.89 kB / 0.6281 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.02033, allocations: 4 kB / 0.6282 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.0205, allocations: 35.75 kB / 0.6282 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.02053, allocations: 8 kB / 0.6282 GB, free: 10.48 MB / 0.545 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 0.0001318/0.02067, allocations: 130.8 kB / 0.6283 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.02071, allocations: 15.91 kB / 0.6283 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005543/0.02126, allocations: 178.6 kB / 0.6285 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.02126, allocations: 0 / 0.6285 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.02127, allocations: 0 / 0.6285 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.02127, allocations: 3.984 kB / 0.6285 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.02149, allocations: 157.1 kB / 0.6287 GB, free: 9.961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.02149, allocations: 0 / 0.6287 GB, free: 9.961 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.02166, allocations: 35.91 kB / 0.6287 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.02167, allocations: 4 kB / 0.6287 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.02168, allocations: 4 kB / 0.6287 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.02169, allocations: 0 / 0.6287 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.02169, allocations: 0 / 0.6287 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005205/0.02221, allocations: 251.4 kB / 0.6289 GB, free: 9.656 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.02226, allocations: 27.83 kB / 0.629 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.02229, allocations: 4 kB / 0.629 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.02244, allocations: 19.97 kB / 0.629 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.02249, allocations: 7.984 kB / 0.629 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.0225, allocations: 4 kB / 0.629 GB, free: 9.594 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001078/0.02261, allocations: 124.1 kB / 0.6291 GB, free: 9.473 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02261, allocations: 3.938 kB / 0.6291 GB, free: 9.469 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003527/0.02296, allocations: 59.88 kB / 0.6292 GB, free: 9.41 MB / 0.545 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.0003241/0.02329, allocations: 159 kB / 0.6293 GB, free: 9.246 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005496/0.02384, allocations: 160 kB / 0.6295 GB, free: 9.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.02384, allocations: 0 / 0.6295 GB, free: 9.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.02406, allocations: 67.89 kB / 0.6295 GB, free: 9.023 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.02445, allocations: 21.7 kB / 0.6296 GB, free: 9.004 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000528/0.02498, allocations: 234.2 kB / 0.6298 GB, free: 8.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.104e-05/0.02507, allocations: 97.67 kB / 0.6299 GB, free: 8.637 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.33e-05/0.02517, allocations: 28.19 kB / 0.6299 GB, free: 8.613 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.02523, allocations: 16.5 kB / 0.6299 GB, free: 8.594 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.02523, allocations: 4 kB / 0.6299 GB, free: 8.59 MB / 0.545 GB Notification: Performance of Templates: time 0.007204/0.03243, allocations: 2.821 MB / 0.6327 GB, free: 5.832 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.736077174544334] Failed to read output from testmodel.py, exit status != 0: 0.0413874089717865 0.057321214 0.042281645 Calling exit ...