Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.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: 81.61 kB / 19.18 MB, free: 2.531 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.001579/0.001579, allocations: 167.7 kB / 22.46 MB, free: 5.355 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.477/1.477, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 1.23/1.23, allocations: 154.6 MB / 413.7 MB, free: 5.305 MB / 382.1 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 178] 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.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.6185 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.31e-05/3.485e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00318/0.003215, allocations: 1.495 MB / 0.62 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5918/0.595, allocations: 115.8 MB / 0.7331 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.833e-05/0.5951, allocations: 2.453 kB / 0.7331 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.881e-05/0.5951, allocations: 5.344 kB / 0.7331 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.041e-05/0.5952, allocations: 9.031 kB / 0.7331 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.5956, allocations: 67.42 kB / 0.7332 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.5957, allocations: 55.64 kB / 0.7332 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.5959, allocations: 10.02 kB / 0.7332 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.439e-05/0.5959, allocations: 28.97 kB / 0.7332 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.197e-05/0.596, allocations: 20.56 kB / 0.7333 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.596, allocations: 8.469 kB / 0.7333 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.5961, allocations: 23.11 kB / 0.7333 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.5962, allocations: 9.25 kB / 0.7333 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.5962, allocations: 15.39 kB / 0.7333 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.5963, allocations: 64.23 kB / 0.7334 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5963, allocations: 1.094 kB / 0.7334 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5963, allocations: 0 / 0.7334 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.5964, allocations: 1.094 kB / 0.7334 GB, free: 7.453 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005161/0.5969, allocations: 297.1 kB / 0.7337 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.5969, allocations: 15.03 kB / 0.7337 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.5971, allocations: 15.58 kB / 0.7337 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.034e-05/0.5972, allocations: 115.3 kB / 0.7338 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.5972, allocations: 4.656 kB / 0.7338 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.5972, allocations: 2.781 kB / 0.7338 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.5975, allocations: 80.23 kB / 0.7339 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.5975, allocations: 4.125 kB / 0.7339 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.5975, allocations: 4.219 kB / 0.7339 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.5975, allocations: 4.375 kB / 0.7339 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.5978, allocations: 71.95 kB / 0.734 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.5982, allocations: 221.9 kB / 0.7342 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.5984, allocations: 57.58 kB / 0.7342 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.5986, allocations: 48.3 kB / 0.7343 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.5986, allocations: 0 / 0.7343 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.5986, allocations: 36.69 kB / 0.7343 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.5986, allocations: 1.531 kB / 0.7343 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005936/0.5992, allocations: 132.2 kB / 0.7344 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.5992, allocations: 51.41 kB / 0.7345 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.672e-05/0.5993, allocations: 112.8 kB / 0.7346 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.5993, allocations: 30.11 kB / 0.7346 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.609e-05/0.5994, allocations: 92.73 kB / 0.7347 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.5994, allocations: 8.984 kB / 0.7347 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.5994, allocations: 17.19 kB / 0.7347 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.994e-05/0.5995, allocations: 313.9 kB / 0.735 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.5996, allocations: 34.16 kB / 0.7351 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.5998, allocations: 39.41 kB / 0.7351 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.6001, allocations: 70.08 kB / 0.7352 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6001, allocations: 0 / 0.7352 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003338/0.6004, allocations: 109 kB / 0.7353 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.6004, allocations: 4.719 kB / 0.7353 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.6004, allocations: 1.031 kB / 0.7353 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.6005, allocations: 3.938 kB / 0.7353 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.6006, allocations: 14.98 kB / 0.7353 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.6006, allocations: 0.875 kB / 0.7353 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.014e-05/0.6007, allocations: 13.52 kB / 0.7353 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.6007, allocations: 0.5 kB / 0.7353 GB, free: 5.992 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.38e-05/0.6008, allocations: 118.4 kB / 0.7354 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.6008, allocations: 6 kB / 0.7354 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.6008, allocations: 10.88 kB / 0.7355 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.6008, allocations: 0.5625 kB / 0.7355 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6008, allocations: 0.5938 kB / 0.7355 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6008, allocations: 0.5 kB / 0.7355 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.601, allocations: 116.6 kB / 0.7356 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.601, allocations: 0 / 0.7356 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.6011, allocations: 15.16 kB / 0.7356 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.6011, allocations: 4.5 kB / 0.7356 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.6011, allocations: 4.562 kB / 0.7356 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.6011, allocations: 2.359 kB / 0.7356 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6011, allocations: 0.5938 kB / 0.7356 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003937/0.6015, allocations: 195.3 kB / 0.7358 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.6015, allocations: 5.516 kB / 0.7358 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.6015, allocations: 8.156 kB / 0.7358 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.6016, allocations: 15.12 kB / 0.7358 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.6017, allocations: 4.25 kB / 0.7358 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.6017, allocations: 1.094 kB / 0.7358 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.872e-05/0.6017, allocations: 90.14 kB / 0.7359 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.6017, allocations: 0 / 0.7359 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002269/0.602, allocations: 12.56 kB / 0.7359 GB, free: 5.504 MB / 0.6075 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 (3): * Single equations (assignments): 3 * 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 9.471e-05/0.602, allocations: 93.59 kB / 0.736 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003801/0.6024, allocations: 73.5 kB / 0.7361 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.6024, allocations: 3.938 kB / 0.7361 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.6026, allocations: 40.81 kB / 0.7361 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.6029, allocations: 11.69 kB / 0.7361 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.6033, allocations: 156.7 kB / 0.7363 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.527e-05/0.6033, allocations: 65.94 kB / 0.7363 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.327e-05/0.6034, allocations: 1.125 kB / 0.7363 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.6034, allocations: 10.56 kB / 0.7363 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.6034, allocations: 1.766 kB / 0.7363 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of Templates: time 0.003751/0.6071, allocations: 0.9237 MB / 0.7372 GB, free: 5.113 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.548348069190979] Failed to read output from testmodel.py, exit status != 0: 0.6161391027271748 0.630329813 0.029159352000000003 Calling exit ...