Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.001079/0.001079, allocations: 93.06 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.001079/0.001079, allocations: 165 kB / 23.02 MB, free: 1.551 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 1.022/1.022, allocations: 177.1 MB / 203.4 MB, free: 5.652 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-535:34: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-535:42: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.8193/0.8193, allocations: 154.8 MB / 414.7 MB, free: 480 kB / 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.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0.5469 kB / 0.5205 GB, free: 2.012 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.903e-05, allocations: 6.828 kB / 0.5205 GB, free: 2.008 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.004922/0.004941, allocations: 1.672 MB / 0.5222 GB, free: 348 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1507/0.1556, allocations: 147.5 MB / 0.6662 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.1557, allocations: 0 / 0.6662 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.1559, allocations: 23.73 kB / 0.6662 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.1562, allocations: 43.66 kB / 0.6663 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.1565, allocations: 155.2 kB / 0.6664 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.1567, allocations: 123.6 kB / 0.6665 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1568, allocations: 25.58 kB / 0.6665 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009244/0.1577, allocations: 250.4 kB / 0.6668 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.225e-05/0.1577, allocations: 35.89 kB / 0.6668 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.1578, allocations: 8 kB / 0.6668 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000287/0.158, allocations: 175.6 kB / 0.667 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.865e-05/0.1581, allocations: 23.92 kB / 0.667 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.1581, allocations: 23.94 kB / 0.667 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.1584, allocations: 199.3 kB / 0.6672 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1584, allocations: 0 / 0.6672 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.624e-06/0.1584, allocations: 4 kB / 0.6672 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1584, allocations: 0 / 0.6672 GB, free: 11.5 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000459/0.1589, allocations: 459.8 kB / 0.6677 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.1589, allocations: 8.031 kB / 0.6677 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005419/0.1595, allocations: 111.7 kB / 0.6678 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.1596, allocations: 153.8 kB / 0.6679 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1596, allocations: 8 kB / 0.6679 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.1597, allocations: 4 kB / 0.6679 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.1599, allocations: 122.2 kB / 0.6681 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1599, allocations: 4 kB / 0.6681 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.1599, allocations: 8 kB / 0.6681 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.1599, allocations: 0 / 0.6681 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.77e-05/0.16, allocations: 47.95 kB / 0.6681 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.1605, allocations: 371.4 kB / 0.6685 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.1608, allocations: 115.1 kB / 0.6686 GB, free: 10 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.656e-05/0.1608, allocations: 35.61 kB / 0.6686 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.1609, allocations: 3.984 kB / 0.6686 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.1609, allocations: 41.33 kB / 0.6687 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.1609, allocations: 0 / 0.6687 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002317/0.1611, allocations: 93.62 kB / 0.6688 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.1612, allocations: 59.41 kB / 0.6688 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.957e-05/0.1613, allocations: 192.3 kB / 0.669 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1613, allocations: 29.7 kB / 0.669 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/0.1613, allocations: 146.9 kB / 0.6692 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.1614, allocations: 31.73 kB / 0.6692 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/0.1614, allocations: 35.34 kB / 0.6692 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1615, allocations: 0.4923 MB / 0.6697 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.6e-05/0.1616, allocations: 11.98 kB / 0.6697 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.872e-05/0.1617, allocations: 102.4 kB / 0.6698 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.927e-05/0.1618, allocations: 48.17 kB / 0.6699 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1618, allocations: 0 / 0.6699 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001345/0.1619, allocations: 93.55 kB / 0.6699 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1619, allocations: 6.656 kB / 0.67 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1619, allocations: 0 / 0.67 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.1619, allocations: 4 kB / 0.67 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.1621, allocations: 23.92 kB / 0.67 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1621, allocations: 0 / 0.67 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.906e-05/0.1621, allocations: 11.94 kB / 0.67 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1621, allocations: 8 kB / 0.67 GB, free: 8.438 MB / 0.6355 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 (8): * Single equations (assignments): 8 * 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 8.727e-05/0.1622, allocations: 156.6 kB / 0.6701 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.1622, allocations: 15.89 kB / 0.6702 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.708e-05/0.1623, allocations: 20.77 kB / 0.6702 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1623, allocations: 0 / 0.6702 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1623, allocations: 0 / 0.6702 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1623, allocations: 0 / 0.6702 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.1627, allocations: 381.2 kB / 0.6705 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1627, allocations: 0 / 0.6705 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.533e-05/0.1627, allocations: 19.98 kB / 0.6706 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1628, allocations: 3.938 kB / 0.6706 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1628, allocations: 3.984 kB / 0.6706 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1628, allocations: 0 / 0.6706 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1628, allocations: 0 / 0.6706 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.1629, allocations: 239.8 kB / 0.6708 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.059e-05/0.1629, allocations: 7.953 kB / 0.6708 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.163, allocations: 15.94 kB / 0.6708 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.999e-05/0.163, allocations: 11.97 kB / 0.6708 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.1631, allocations: 11.97 kB / 0.6708 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.1631, allocations: 8 kB / 0.6709 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.77e-05/0.1631, allocations: 143.2 kB / 0.671 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.1631, allocations: 0 / 0.671 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001838/0.1633, allocations: 27.94 kB / 0.671 GB, free: 7.32 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 (8): * Single equations (assignments): 8 * 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.0001474/0.1635, allocations: 111.2 kB / 0.6711 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000167/0.1636, allocations: 55.66 kB / 0.6712 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1636, allocations: 0 / 0.6712 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.97e-05/0.1637, allocations: 43.59 kB / 0.6712 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.1639, allocations: 40.38 kB / 0.6713 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007855/0.1647, allocations: 229.8 kB / 0.6715 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.455e-05/0.1648, allocations: 67.33 kB / 0.6715 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.049e-05/0.1649, allocations: 24.72 kB / 0.6716 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.1649, allocations: 12.5 kB / 0.6716 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/0.1649, allocations: 0 / 0.6716 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of Templates: time 0.003822/0.1687, allocations: 2.026 MB / 0.6736 GB, free: 4.723 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.522680625785142]