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.001326/0.001326, allocations: 81.17 kB / 19.87 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.001351/0.001351, allocations: 169 kB / 23.27 MB, free: 1.223 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.044/1.044, allocations: 177.2 MB / 203.7 MB, free: 5.523 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.7808/0.7808, allocations: 154.9 MB / 415.1 MB, free: 264 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.383e-06/1.383e-06, allocations: 0 / 0.5211 GB, free: 1.555 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.305e-05, allocations: 4.141 kB / 0.5211 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001962/0.001985, allocations: 1.665 MB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1269/0.1289, allocations: 144.7 MB / 0.664 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.129, allocations: 4 kB / 0.6641 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.1292, allocations: 15.8 kB / 0.6641 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.1295, allocations: 47.64 kB / 0.6641 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.1299, allocations: 147.3 kB / 0.6643 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.1301, allocations: 135.4 kB / 0.6644 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1302, allocations: 21.58 kB / 0.6644 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008769/0.1311, allocations: 255.7 kB / 0.6646 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.523e-05/0.1311, allocations: 39.89 kB / 0.6647 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.1311, allocations: 4 kB / 0.6647 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/0.1314, allocations: 179.6 kB / 0.6649 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.632e-05/0.1315, allocations: 19.92 kB / 0.6649 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.1315, allocations: 23.94 kB / 0.6649 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.1318, allocations: 195.3 kB / 0.6651 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1318, allocations: 0 / 0.6651 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1318, allocations: 0 / 0.6651 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.1318, allocations: 0 / 0.6651 GB, free: 13.84 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.0003876/0.1322, allocations: 463.9 kB / 0.6655 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1322, allocations: 8.031 kB / 0.6655 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004807/0.1327, allocations: 107.7 kB / 0.6656 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.1328, allocations: 167.7 kB / 0.6658 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1328, allocations: 8 kB / 0.6658 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.1329, allocations: 8 kB / 0.6658 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.1331, allocations: 110.3 kB / 0.6659 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1331, allocations: 0 / 0.6659 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1331, allocations: 4 kB / 0.6659 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1331, allocations: 0 / 0.6659 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.256e-05/0.1331, allocations: 35.97 kB / 0.666 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.1335, allocations: 348 kB / 0.6663 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.1337, allocations: 95.12 kB / 0.6664 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.014e-05/0.1338, allocations: 35.66 kB / 0.6664 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.1338, allocations: 8 kB / 0.6664 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.1338, allocations: 37.33 kB / 0.6665 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.1338, allocations: 0 / 0.6665 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0001996/0.134, allocations: 89.56 kB / 0.6665 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.1341, allocations: 55.41 kB / 0.6666 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.153e-05/0.1341, allocations: 196.1 kB / 0.6668 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.1342, allocations: 25.7 kB / 0.6668 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.1342, allocations: 150.9 kB / 0.667 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.1342, allocations: 31.73 kB / 0.667 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.1343, allocations: 31.36 kB / 0.667 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1344, allocations: 0.4923 MB / 0.6675 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.749e-05/0.1344, allocations: 11.98 kB / 0.6675 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.28e-05/0.1345, allocations: 11.98 kB / 0.6675 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.538e-05/0.1345, allocations: 35.67 kB / 0.6676 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1345, allocations: 4 kB / 0.6676 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001069/0.1346, allocations: 89.48 kB / 0.6676 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.1346, allocations: 5.719 kB / 0.6676 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1346, allocations: 7.922 kB / 0.6677 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1347, allocations: 4 kB / 0.6677 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.483e-05/0.1347, allocations: 19.98 kB / 0.6677 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-06/0.1348, allocations: 0 / 0.6677 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.1348, allocations: 11.98 kB / 0.6677 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.1348, allocations: 0 / 0.6677 GB, free: 10.97 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 6.558e-05/0.1349, allocations: 160.6 kB / 0.6678 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.1349, allocations: 15.84 kB / 0.6679 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/0.1349, allocations: 21.33 kB / 0.6679 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1349, allocations: 0 / 0.6679 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.1349, allocations: 3.984 kB / 0.6679 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.135, allocations: 0 / 0.6679 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.1353, allocations: 338 kB / 0.6682 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1353, allocations: 3.938 kB / 0.6682 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.769e-05/0.1354, allocations: 19.98 kB / 0.6682 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1354, allocations: 0 / 0.6682 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.1354, allocations: 7.984 kB / 0.6682 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1354, allocations: 4.078 kB / 0.6682 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1354, allocations: 3.984 kB / 0.6682 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.1355, allocations: 235.8 kB / 0.6685 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.119e-05/0.1355, allocations: 15.83 kB / 0.6685 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.1355, allocations: 0 / 0.6685 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.568e-05/0.1356, allocations: 11.98 kB / 0.6685 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.1356, allocations: 7.984 kB / 0.6685 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.1356, allocations: 0 / 0.6685 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.27e-05/0.1357, allocations: 143.2 kB / 0.6686 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.41e-07/0.1357, allocations: 4 kB / 0.6686 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001846/0.1359, allocations: 31.94 kB / 0.6687 GB, free: 9.898 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.000138/0.136, allocations: 103.2 kB / 0.6688 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.1361, allocations: 55.58 kB / 0.6688 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.1361, allocations: 0 / 0.6688 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.902e-05/0.1362, allocations: 35.66 kB / 0.6689 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.1364, allocations: 45.03 kB / 0.6689 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005484/0.1369, allocations: 233.7 kB / 0.6691 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.588e-05/0.137, allocations: 63.34 kB / 0.6692 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.426e-05/0.137, allocations: 17.09 kB / 0.6692 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.402e-05/0.1371, allocations: 98.17 kB / 0.6693 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/0.1371, allocations: 0 / 0.6693 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of Templates: time 0.004407/0.1416, allocations: 2.145 MB / 0.6714 GB, free: 7.105 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.257256275974214]