Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 111.9 kB / 16.38 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 190.2 kB / 17.31 MB, free: 5.785 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.178/1.178, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7095/0.7095, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 64.14 kB / 0.5862 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1186, allocations: 80.92 MB / 0.6652 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002104/0.1207, allocations: 1.488 MB / 0.6667 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1217, allocations: 0.8108 MB / 0.6675 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.1218, allocations: 7.938 kB / 0.6675 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.743e-05/0.1218, allocations: 3.984 kB / 0.6675 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.033e-05/0.1219, allocations: 11.86 kB / 0.6675 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.1222, allocations: 135.4 kB / 0.6676 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.036e-05/0.1223, allocations: 43.86 kB / 0.6677 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.279e-05/0.1224, allocations: 15.98 kB / 0.6677 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.239e-05/0.1224, allocations: 23.92 kB / 0.6677 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.889e-05/0.1225, allocations: 15.92 kB / 0.6677 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.1225, allocations: 8 kB / 0.6677 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003177/0.1228, allocations: 183.6 kB / 0.6679 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.1229, allocations: 7.984 kB / 0.6679 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.667e-05/0.1229, allocations: 23.86 kB / 0.6679 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.1232, allocations: 151.6 kB / 0.6681 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1232, allocations: 0 / 0.6681 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1232, allocations: 0 / 0.6681 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.1232, allocations: 0 / 0.6681 GB, free: 2.898 MB / 0.4981 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.0005074/0.1238, allocations: 391.2 kB / 0.6685 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1238, allocations: 17.11 kB / 0.6685 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.1238, allocations: 4.844 kB / 0.6685 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.936e-05/0.1239, allocations: 176.2 kB / 0.6686 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1239, allocations: 8.359 kB / 0.6686 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.124, allocations: 4.375 kB / 0.6687 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.1242, allocations: 74.2 kB / 0.6687 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.912e-06/0.1242, allocations: 192 / 0.6687 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1242, allocations: 3.938 kB / 0.6687 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1242, allocations: 4 kB / 0.6687 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002686/0.1245, allocations: 67.92 kB / 0.6688 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.1248, allocations: 288.7 kB / 0.6691 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.125, allocations: 50.55 kB / 0.6691 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.1252, allocations: 44.91 kB / 0.6692 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.1253, allocations: 89.09 kB / 0.6692 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.1254, allocations: 30.56 kB / 0.6693 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1254, allocations: 0 / 0.6693 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004899/0.1259, allocations: 141.4 kB / 0.6694 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.1259, allocations: 51.41 kB / 0.6695 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.06e-05/0.126, allocations: 121.8 kB / 0.6696 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.126, allocations: 25.7 kB / 0.6696 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.126, allocations: 88.14 kB / 0.6697 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.1261, allocations: 19.8 kB / 0.6697 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.1261, allocations: 13.72 kB / 0.6697 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.609e-05/0.1262, allocations: 318.8 kB / 0.67 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.1263, allocations: 35.95 kB / 0.6701 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.1265, allocations: 27.97 kB / 0.6701 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.1267, allocations: 72.78 kB / 0.6702 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1267, allocations: 0 / 0.6702 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000289/0.127, allocations: 97.56 kB / 0.6702 GB, free: 444 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.127, allocations: 9.719 kB / 0.6703 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.1271, allocations: 4.328 kB / 0.6703 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.1271, allocations: 0 / 0.6703 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.1272, allocations: 15.97 kB / 0.6703 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.1272, allocations: 4 kB / 0.6703 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.152e-05/0.1273, allocations: 7.984 kB / 0.6703 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.1273, allocations: 4 kB / 0.6703 GB, free: 400 kB / 0.4981 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.433e-05/0.1273, allocations: 113.8 kB / 0.6704 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.1274, allocations: 19.89 kB / 0.6704 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003276/0.1277, allocations: 109.5 kB / 0.6705 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1277, allocations: 0 / 0.6705 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1277, allocations: 3.938 kB / 0.6705 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1277, allocations: 3.984 kB / 0.6705 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.1279, allocations: 173.7 kB / 0.6707 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1279, allocations: 0 / 0.6707 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.969e-05/0.128, allocations: 23.97 kB / 0.6707 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.128, allocations: 0 / 0.6707 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.128, allocations: 0 / 0.6707 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.128, allocations: 0 / 0.6707 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/0.128, allocations: 4 kB / 0.6707 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.1284, allocations: 195.2 kB / 0.6709 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.1284, allocations: 81.11 kB / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.1284, allocations: 11.92 kB / 0.671 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-05/0.1285, allocations: 7.984 kB / 0.671 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.1286, allocations: 4 kB / 0.671 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.1286, allocations: 3.938 kB / 0.671 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.076e-05/0.1286, allocations: 91.27 kB / 0.6711 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1286, allocations: 0 / 0.6711 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002366/0.1289, allocations: 36 kB / 0.6711 GB, free: 15.42 MB / 0.5137 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.0001636/0.1291, allocations: 134.4 kB / 0.6713 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003072/0.1294, allocations: 67.92 kB / 0.6713 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1294, allocations: 0 / 0.6713 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.1295, allocations: 43.89 kB / 0.6714 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.1298, allocations: 11.94 kB / 0.6714 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.13, allocations: 180.8 kB / 0.6716 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.1303, allocations: 0.6807 MB / 0.6722 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.1303, allocations: 11.44 kB / 0.6722 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1303, allocations: 4 kB / 0.6722 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of Templates: time 0.002271/0.1326, allocations: 1.209 MB / 0.6734 GB, free: 13.02 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)