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.0009273/0.0009273, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.001116/0.001116, allocations: 203.2 kB / 23 MB, free: 3.113 MB / 13.93 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.8967/0.8967, allocations: 230.6 MB / 256.8 MB, free: 3.488 MB / 202.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.7551/0.7551, allocations: 203.8 MB / 0.5049 GB, free: 0.7578 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009071/0.0009071, allocations: 63.89 kB / 0.7195 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4935/0.4944, allocations: 102 MB / 0.8191 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004508/0.4989, allocations: 4.672 MB / 0.8237 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007291/0.4996, allocations: 0.82 MB / 0.8245 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.695e-05/0.4997, allocations: 2.125 kB / 0.8245 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.4999, allocations: 37.05 kB / 0.8245 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.97e-05/0.4999, allocations: 29.72 kB / 0.8245 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005001/0.5004, allocations: 178.3 kB / 0.8247 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.5007, allocations: 184.8 kB / 0.8249 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.5008, allocations: 16.44 kB / 0.8249 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.501, allocations: 86.45 kB / 0.825 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.5011, allocations: 77.02 kB / 0.825 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.5011, allocations: 16.22 kB / 0.8251 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.5014, allocations: 161.1 kB / 0.8252 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.957e-05/0.5014, allocations: 31.53 kB / 0.8252 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.949e-05/0.5015, allocations: 66.39 kB / 0.8253 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003277/0.5018, allocations: 242.2 kB / 0.8255 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.5018, allocations: 0 / 0.8255 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.637e-06/0.5018, allocations: 4.422 kB / 0.8255 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.5018, allocations: 0 / 0.8255 GB, free: 20.89 MB / 0.6355 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.0005904/0.5024, allocations: 411.2 kB / 0.8259 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.5024, allocations: 10.41 kB / 0.8259 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.5025, allocations: 18.59 kB / 0.826 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.158e-05/0.5026, allocations: 130.1 kB / 0.8261 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.5026, allocations: 9.25 kB / 0.8261 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.5026, allocations: 12.06 kB / 0.8261 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.5028, allocations: 123.2 kB / 0.8262 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.5028, allocations: 0 / 0.8262 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.5028, allocations: 1.438 kB / 0.8262 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.5028, allocations: 10.23 kB / 0.8262 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.5031, allocations: 141.3 kB / 0.8264 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006236/0.5037, allocations: 441 kB / 0.8268 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.5039, allocations: 120.6 kB / 0.8269 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.504, allocations: 64.83 kB / 0.827 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006102/0.5046, allocations: 490.3 kB / 0.8274 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.5046, allocations: 39.27 kB / 0.8275 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.5046, allocations: 1.375 kB / 0.8275 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.0003913/0.505, allocations: 218.8 kB / 0.8277 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.994e-05/0.505, allocations: 53.48 kB / 0.8277 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.5051, allocations: 167.7 kB / 0.8279 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.5051, allocations: 34.95 kB / 0.8279 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.5052, allocations: 105.2 kB / 0.828 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.5052, allocations: 48.03 kB / 0.8281 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.5052, allocations: 49.09 kB / 0.8281 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.903e-05/0.5053, allocations: 321.3 kB / 0.8284 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.5054, allocations: 76.16 kB / 0.8285 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.5056, allocations: 108 kB / 0.8286 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.5058, allocations: 171.5 kB / 0.8288 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.5058, allocations: 1.125 kB / 0.8288 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003178/0.5061, allocations: 245.5 kB / 0.829 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.5061, allocations: 9.156 kB / 0.829 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.5061, allocations: 1.062 kB / 0.829 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.5061, allocations: 14.16 kB / 0.829 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.5063, allocations: 51.53 kB / 0.8291 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.5063, allocations: 1.969 kB / 0.8291 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.164e-05/0.5064, allocations: 31.88 kB / 0.8291 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.5064, allocations: 6.734 kB / 0.8291 GB, free: 18.45 MB / 0.6355 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 5.209e-05/0.5064, allocations: 125.7 kB / 0.8292 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.5065, allocations: 20.44 kB / 0.8292 GB, free: 18.31 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.5067, allocations: 180.6 kB / 0.8294 GB, free: 18.22 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.5067, allocations: 1 kB / 0.8294 GB, free: 18.22 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5067, allocations: 1.578 kB / 0.8294 GB, free: 18.22 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5067, allocations: 0.7031 kB / 0.8294 GB, free: 18.22 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.5069, allocations: 190.1 kB / 0.8296 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5069, allocations: 0.5156 kB / 0.8296 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.757e-05/0.507, allocations: 32.92 kB / 0.8296 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.507, allocations: 1.062 kB / 0.8296 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.507, allocations: 9.734 kB / 0.8296 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.507, allocations: 3.938 kB / 0.8296 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.507, allocations: 1.031 kB / 0.8297 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.5072, allocations: 255.8 kB / 0.8299 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.5072, allocations: 22.33 kB / 0.8299 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.5073, allocations: 9.094 kB / 0.8299 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.388e-05/0.5073, allocations: 14.98 kB / 0.8299 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.013e-05/0.5074, allocations: 9.578 kB / 0.8299 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.5074, allocations: 6.594 kB / 0.83 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.706e-05/0.5074, allocations: 111.6 kB / 0.8301 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5074, allocations: 0 / 0.8301 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002166/0.5076, allocations: 67.95 kB / 0.8301 GB, free: 17.72 MB / 0.6355 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.0002135/0.5078, allocations: 159.9 kB / 0.8303 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003065/0.5082, allocations: 163 kB / 0.8304 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.5082, allocations: 0 / 0.8304 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.5083, allocations: 59.72 kB / 0.8305 GB, free: 17.56 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.5085, allocations: 30.17 kB / 0.8305 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.5088, allocations: 279.6 kB / 0.8308 GB, free: 17.33 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.616e-05/0.5089, allocations: 0.7073 MB / 0.8315 GB, free: 16.63 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.483e-05/0.509, allocations: 17.67 kB / 0.8315 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/0.509, allocations: 4 kB / 0.8315 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of Templates: time 0.003882/0.5129, allocations: 2.562 MB / 0.834 GB, free: 16.32 MB / 0.6355 GB " [Timeout remaining time 659] 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.7772744740359485] Failed to read output from testmodel.py, exit status != 0: 0.5182654289528728 0.526232653 0.022731475 Calling exit ...