Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008375/0.0008375, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.0009699/0.0009699, allocations: 169 kB / 23.02 MB, free: 1.547 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.9632/0.9632, allocations: 177.1 MB / 203.4 MB, free: 5.637 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-545:108: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-545:116: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.7852/0.7852, allocations: 154.6 MB / 414.5 MB, free: 0.668 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.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.5203 GB, free: 2.238 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.786e-05, allocations: 4.547 kB / 0.5203 GB, free: 2.234 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001672/0.00169, allocations: 1.528 MB / 0.5218 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1502/0.1519, allocations: 127.7 MB / 0.6465 GB, free: 0.7266 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/0.1519, allocations: 0 / 0.6465 GB, free: 0.7266 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.575e-05/0.152, allocations: 7.875 kB / 0.6465 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.648e-05/0.152, allocations: 11.91 kB / 0.6465 GB, free: 0.707 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.1524, allocations: 67.67 kB / 0.6466 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.674e-05/0.1525, allocations: 51.78 kB / 0.6466 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.916e-05/0.1525, allocations: 11.94 kB / 0.6466 GB, free: 0.5781 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.437e-05/0.1526, allocations: 35.89 kB / 0.6467 GB, free: 0.543 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.947e-05/0.1526, allocations: 15.98 kB / 0.6467 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.1527, allocations: 4 kB / 0.6467 GB, free: 0.5234 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.014e-05/0.1528, allocations: 31.92 kB / 0.6467 GB, free: 0.4922 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.1528, allocations: 4 kB / 0.6467 GB, free: 500 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.1528, allocations: 11.98 kB / 0.6467 GB, free: 488 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.1529, allocations: 59.75 kB / 0.6468 GB, free: 428 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1529, allocations: 0 / 0.6468 GB, free: 428 kB / 0.6042 GB Notification: Performance of FrontEnd: time 8.61e-07/0.1529, allocations: 0 / 0.6468 GB, free: 428 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.1529, allocations: 0 / 0.6468 GB, free: 428 kB / 0.6042 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.001353/0.1543, allocations: 392.4 kB / 0.6472 GB, free: 16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1543, allocations: 8.031 kB / 0.6472 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.1544, allocations: 8.938 kB / 0.6472 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.067e-05/0.1544, allocations: 116.6 kB / 0.6473 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1544, allocations: 4.375 kB / 0.6473 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.1545, allocations: 4.375 kB / 0.6473 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1546, allocations: 66.94 kB / 0.6474 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1546, allocations: 4.125 kB / 0.6474 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1546, allocations: 4.312 kB / 0.6474 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.1546, allocations: 4.359 kB / 0.6474 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.233e-05/0.1547, allocations: 19.91 kB / 0.6474 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.155, allocations: 271.7 kB / 0.6477 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.293e-05/0.1551, allocations: 42.98 kB / 0.6477 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.1551, allocations: 11.69 kB / 0.6477 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.1552, allocations: 16.08 kB / 0.6477 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.1552, allocations: 41.33 kB / 0.6478 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1552, allocations: 0 / 0.6478 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001638/0.1554, allocations: 49.69 kB / 0.6478 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.1554, allocations: 51.41 kB / 0.6479 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.89e-05/0.1555, allocations: 169.9 kB / 0.648 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.1555, allocations: 25.7 kB / 0.6481 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.98e-05/0.1556, allocations: 142.8 kB / 0.6482 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.1556, allocations: 7.938 kB / 0.6482 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.1556, allocations: 23.38 kB / 0.6482 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.1557, allocations: 496.1 kB / 0.6487 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.792e-05/0.1557, allocations: 0 / 0.6487 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.74e-05/0.1558, allocations: 7.984 kB / 0.6487 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.68e-05/0.1558, allocations: 15.69 kB / 0.6487 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1558, allocations: 0 / 0.6487 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.633e-05/0.1559, allocations: 53.58 kB / 0.6488 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1559, allocations: 9.25 kB / 0.6488 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1559, allocations: 7.938 kB / 0.6488 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1559, allocations: 0 / 0.6488 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.119e-05/0.156, allocations: 8 kB / 0.6488 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.156, allocations: 7.969 kB / 0.6488 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.916e-05/0.156, allocations: 4 kB / 0.6488 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.156, allocations: 0 / 0.6488 GB, free: 14.16 MB / 0.6198 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.72e-05/0.1561, allocations: 160.6 kB / 0.649 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.1561, allocations: 7.891 kB / 0.649 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.935e-05/0.1562, allocations: 53.67 kB / 0.649 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1562, allocations: 0 / 0.649 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1562, allocations: 4 kB / 0.649 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1562, allocations: 0 / 0.649 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.1563, allocations: 120.6 kB / 0.6491 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1563, allocations: 3.938 kB / 0.6491 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.759e-05/0.1564, allocations: 15.92 kB / 0.6492 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1564, allocations: 4 kB / 0.6492 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.1564, allocations: 3.938 kB / 0.6492 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1564, allocations: 0 / 0.6492 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1564, allocations: 0 / 0.6492 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.1565, allocations: 192.3 kB / 0.6493 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.1565, allocations: 19.89 kB / 0.6494 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.1565, allocations: 3.938 kB / 0.6494 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.848e-05/0.1566, allocations: 7.984 kB / 0.6494 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.1566, allocations: 3.984 kB / 0.6494 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.1566, allocations: 4 kB / 0.6494 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.45e-05/0.1567, allocations: 131.5 kB / 0.6495 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.1567, allocations: 0 / 0.6495 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002253/0.1569, allocations: 12 kB / 0.6495 GB, free: 13.35 MB / 0.6198 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 0.0001232/0.157, allocations: 111.1 kB / 0.6496 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.594e-05/0.1571, allocations: 31.67 kB / 0.6497 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.1571, allocations: 0 / 0.6497 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.642e-05/0.1571, allocations: 11.69 kB / 0.6497 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.1574, allocations: 19.98 kB / 0.6497 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.1577, allocations: 158 kB / 0.6498 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.99e-05/0.1577, allocations: 62.64 kB / 0.6499 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.378e-05/0.1577, allocations: 4 kB / 0.6499 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.1578, allocations: 8.5 kB / 0.6499 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.1578, allocations: 0 / 0.6499 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of Templates: time 0.002646/0.1604, allocations: 1.008 MB / 0.6509 GB, free: 11.91 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0870978268794715]