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.0009836/0.0009836, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0008018/0.0008018, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.8907/0.8907, allocations: 177.1 MB / 203.5 MB, free: 5.715 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-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 0.6933/0.6933, allocations: 154.6 MB / 414.5 MB, free: 0.8164 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.382e-06/1.382e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.646e-05, allocations: 5.125 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.003885/0.003902, allocations: 4.389 MB / 0.6236 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006737/0.004575, allocations: 0.7632 MB / 0.6244 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.806e-05/0.004623, allocations: 4 kB / 0.6244 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.004752, allocations: 27.78 kB / 0.6244 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.755e-05/0.004789, allocations: 35.66 kB / 0.6244 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.005244, allocations: 183.2 kB / 0.6246 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004038/0.005648, allocations: 175.3 kB / 0.6248 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.151e-05/0.00572, allocations: 21.23 kB / 0.6248 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.005864, allocations: 107.8 kB / 0.6249 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.565e-05/0.005939, allocations: 67.78 kB / 0.625 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.005958, allocations: 12 kB / 0.625 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.006158, allocations: 135.8 kB / 0.6251 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.349e-05/0.006182, allocations: 31.89 kB / 0.6251 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.006219, allocations: 47.89 kB / 0.6252 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.006469, allocations: 263.2 kB / 0.6254 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.006471, allocations: 4 kB / 0.6254 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.82e-07/0.006472, allocations: 0 / 0.6254 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.006476, allocations: 0 / 0.6254 GB, free: 6.898 MB / 0.5886 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.0005197/0.006995, allocations: 401.5 kB / 0.6258 GB, free: 6.477 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.007026, allocations: 8.031 kB / 0.6258 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.007062, allocations: 28.83 kB / 0.6259 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.846e-05/0.007151, allocations: 133.5 kB / 0.626 GB, free: 6.285 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.007161, allocations: 8.375 kB / 0.626 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.007177, allocations: 8.375 kB / 0.626 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.007368, allocations: 118 kB / 0.6261 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.007375, allocations: 4.188 kB / 0.6261 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.007387, allocations: 8.125 kB / 0.6261 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.007391, allocations: 0 / 0.6261 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.007617, allocations: 147.8 kB / 0.6263 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005507/0.008168, allocations: 376.3 kB / 0.6266 GB, free: 5.594 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.008334, allocations: 118.5 kB / 0.6267 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.563e-05/0.008429, allocations: 68.75 kB / 0.6268 GB, free: 5.398 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005927/0.009022, allocations: 472.1 kB / 0.6273 GB, free: 4.918 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.009049, allocations: 38.5 kB / 0.6273 GB, free: 4.871 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.00905, allocations: 0 / 0.6273 GB, free: 4.871 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0003693/0.009419, allocations: 209.5 kB / 0.6275 GB, free: 4.66 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.009448, allocations: 55.41 kB / 0.6275 GB, free: 4.594 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.372e-05/0.009542, allocations: 165.5 kB / 0.6277 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.009556, allocations: 33.7 kB / 0.6277 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.009606, allocations: 104.5 kB / 0.6278 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.009627, allocations: 43.64 kB / 0.6279 GB, free: 4.234 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/0.009678, allocations: 57.69 kB / 0.6279 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.777e-05/0.009755, allocations: 322.8 kB / 0.6282 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.00987, allocations: 75.89 kB / 0.6283 GB, free: 3.773 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.01, allocations: 119.2 kB / 0.6284 GB, free: 3.645 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.01023, allocations: 174.5 kB / 0.6286 GB, free: 3.465 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01023, allocations: 3.938 kB / 0.6286 GB, free: 3.461 MB / 0.5886 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002958/0.01053, allocations: 237.4 kB / 0.6288 GB, free: 3.223 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.01054, allocations: 8 kB / 0.6288 GB, free: 3.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.01055, allocations: 4.094 kB / 0.6288 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.01056, allocations: 0 / 0.6288 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.01069, allocations: 55.91 kB / 0.6289 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.0107, allocations: 3.984 kB / 0.6289 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.937e-05/0.01076, allocations: 39.7 kB / 0.6289 GB, free: 3.113 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.01078, allocations: 4 kB / 0.6289 GB, free: 3.109 MB / 0.5886 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.196e-05/0.01084, allocations: 126.8 kB / 0.629 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.01086, allocations: 11.89 kB / 0.6291 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.01111, allocations: 178.7 kB / 0.6292 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/0.01111, allocations: 0 / 0.6292 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.01111, allocations: 0 / 0.6292 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.01112, allocations: 0 / 0.6292 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.01123, allocations: 161.1 kB / 0.6294 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01123, allocations: 0 / 0.6294 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.715e-05/0.0113, allocations: 31.98 kB / 0.6294 GB, free: 2.566 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.0113, allocations: 4 kB / 0.6294 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.01131, allocations: 7.922 kB / 0.6294 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.01131, allocations: 0 / 0.6294 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01131, allocations: 0 / 0.6294 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.01153, allocations: 259.2 kB / 0.6297 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.01156, allocations: 23.94 kB / 0.6297 GB, free: 2.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.01158, allocations: 0 / 0.6297 GB, free: 2.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.94e-05/0.01164, allocations: 15.98 kB / 0.6297 GB, free: 2.246 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.01167, allocations: 15.97 kB / 0.6297 GB, free: 2.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.01167, allocations: 4 kB / 0.6297 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.843e-05/0.01172, allocations: 120.9 kB / 0.6298 GB, free: 2.109 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01172, allocations: 0 / 0.6298 GB, free: 2.109 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000196/0.01192, allocations: 55.88 kB / 0.6299 GB, free: 2.055 MB / 0.5886 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.0001813/0.0121, allocations: 174.9 kB / 0.6301 GB, free: 1.871 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002611/0.01236, allocations: 171.1 kB / 0.6302 GB, free: 1.707 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01236, allocations: 192 / 0.6302 GB, free: 1.707 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.135e-05/0.01245, allocations: 71.88 kB / 0.6303 GB, free: 1.637 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.01266, allocations: 17.97 kB / 0.6303 GB, free: 1.621 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.01299, allocations: 259.8 kB / 0.6306 GB, free: 1.336 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.147e-05/0.01304, allocations: 93.81 kB / 0.6307 GB, free: 1.223 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.01309, allocations: 20.5 kB / 0.6307 GB, free: 1.203 MB / 0.5886 GB Notification: Performance of SimCode: time 4.11e-07/0.01309, allocations: 0 / 0.6307 GB, free: 1.203 MB / 0.5886 GB Notification: Performance of Templates: time 0.002998/0.01608, allocations: 2.643 MB / 0.6333 GB, free: 14.58 MB / 0.6042 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.078162281773984] Failed to read output from testmodel.py, exit status != 0: 0.02041875384747982 0.028317045000000002 0.019894892 Calling exit ...