Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008364/0.0008364, 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.0008188/0.0008188, allocations: 178.2 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.8909/0.8909, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.7164/0.7164, allocations: 154.5 MB / 414.5 MB, free: 0.8398 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/3.017e-05, allocations: 5.094 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004591/0.004621, allocations: 4.378 MB / 0.6236 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007056/0.005326, allocations: 0.7632 MB / 0.6243 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.259e-05/0.005379, allocations: 0 / 0.6243 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.005554, allocations: 27.78 kB / 0.6243 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.935e-05/0.005593, allocations: 39.64 kB / 0.6244 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004574/0.006051, allocations: 175.3 kB / 0.6245 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.006221, allocations: 179.3 kB / 0.6247 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.006328, allocations: 13.3 kB / 0.6247 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.006527, allocations: 115.8 kB / 0.6248 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.656e-05/0.006603, allocations: 59.86 kB / 0.6249 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.006623, allocations: 12 kB / 0.6249 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002169/0.00684, allocations: 143.6 kB / 0.625 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/0.006869, allocations: 35.89 kB / 0.6251 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.006912, allocations: 43.91 kB / 0.6251 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.00721, allocations: 267.1 kB / 0.6254 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.007212, allocations: 0 / 0.6254 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.643e-06/0.007214, allocations: 0 / 0.6254 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.007219, allocations: 0 / 0.6254 GB, free: 6.922 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.0006276/0.007847, allocations: 405.5 kB / 0.6258 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.007887, allocations: 13.47 kB / 0.6258 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.007931, allocations: 12.84 kB / 0.6258 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.008039, allocations: 132.8 kB / 0.6259 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.008054, allocations: 8.375 kB / 0.6259 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.008073, allocations: 12.38 kB / 0.6259 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.00832, allocations: 126.1 kB / 0.6261 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.008329, allocations: 192 / 0.6261 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.008343, allocations: 8.125 kB / 0.6261 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.00835, allocations: 4 kB / 0.6261 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.008582, allocations: 135.9 kB / 0.6262 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000615/0.009197, allocations: 384.2 kB / 0.6266 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.009379, allocations: 114.5 kB / 0.6267 GB, free: 5.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.009481, allocations: 73 kB / 0.6267 GB, free: 5.426 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006417/0.01012, allocations: 476.1 kB / 0.6272 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.01015, allocations: 34.56 kB / 0.6272 GB, free: 4.898 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.01015, allocations: 0 / 0.6272 GB, free: 4.898 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0003943/0.01054, allocations: 209.4 kB / 0.6274 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.01057, allocations: 55.39 kB / 0.6275 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.01068, allocations: 169.5 kB / 0.6276 GB, free: 4.445 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.0107, allocations: 29.7 kB / 0.6277 GB, free: 4.41 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.01075, allocations: 108.5 kB / 0.6278 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.01078, allocations: 43.64 kB / 0.6278 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.01083, allocations: 45.7 kB / 0.6279 GB, free: 4.207 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.682e-05/0.01091, allocations: 326.8 kB / 0.6282 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.01104, allocations: 79.94 kB / 0.6282 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.01118, allocations: 107.4 kB / 0.6283 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.01141, allocations: 163.3 kB / 0.6285 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01141, allocations: 4 kB / 0.6285 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003212/0.01173, allocations: 252.7 kB / 0.6288 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.01174, allocations: 4 kB / 0.6288 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.01175, allocations: 0 / 0.6288 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.01176, allocations: 4 kB / 0.6288 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.0119, allocations: 56.05 kB / 0.6288 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.01191, allocations: 11.94 kB / 0.6288 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.005e-05/0.01198, allocations: 31.7 kB / 0.6289 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.012, allocations: 12 kB / 0.6289 GB, free: 3.141 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 7.873e-05/0.01208, allocations: 121.7 kB / 0.629 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.01209, allocations: 15.89 kB / 0.629 GB, free: 3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.01237, allocations: 180.6 kB / 0.6292 GB, free: 2.82 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.01237, allocations: 4 kB / 0.6292 GB, free: 2.816 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01238, allocations: 0 / 0.6292 GB, free: 2.816 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01238, allocations: 3.984 kB / 0.6292 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.01251, allocations: 157.1 kB / 0.6293 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01251, allocations: 4 kB / 0.6293 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.958e-05/0.01258, allocations: 31.97 kB / 0.6294 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.01258, allocations: 0 / 0.6294 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.01259, allocations: 4 kB / 0.6294 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01259, allocations: 0 / 0.6294 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01259, allocations: 4 kB / 0.6294 GB, free: 2.586 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.01284, allocations: 266.3 kB / 0.6296 GB, free: 2.312 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/0.01287, allocations: 19.94 kB / 0.6296 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.01288, allocations: 4 kB / 0.6296 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.203e-05/0.01294, allocations: 15.97 kB / 0.6297 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.01299, allocations: 7.984 kB / 0.6297 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.01299, allocations: 8 kB / 0.6297 GB, free: 2.258 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.317e-05/0.01306, allocations: 116.9 kB / 0.6298 GB, free: 2.145 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01306, allocations: 4 kB / 0.6298 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002195/0.01328, allocations: 59.88 kB / 0.6298 GB, free: 2.082 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.000218/0.01349, allocations: 166.9 kB / 0.63 GB, free: 1.906 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002839/0.01378, allocations: 167.6 kB / 0.6302 GB, free: 1.742 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01378, allocations: 0 / 0.6302 GB, free: 1.742 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.453e-05/0.01387, allocations: 59.95 kB / 0.6302 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.01412, allocations: 30.2 kB / 0.6303 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/0.01448, allocations: 259.7 kB / 0.6305 GB, free: 1.371 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.921e-05/0.01454, allocations: 93.75 kB / 0.6306 GB, free: 1.258 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.01459, allocations: 28.48 kB / 0.6306 GB, free: 1.23 MB / 0.5886 GB Notification: Performance of SimCode: time 4.41e-07/0.01459, allocations: 0 / 0.6306 GB, free: 1.23 MB / 0.5886 GB Notification: Performance of Templates: time 0.003563/0.01815, allocations: 2.641 MB / 0.6332 GB, free: 14.61 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1918527111411095] Failed to read output from testmodel.py, exit status != 0: 0.024016612209379673 0.035108503 0.026249338 Calling exit ...