Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001495/0.001495, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002059/0.002059, allocations: 192.3 kB / 16.25 MB, free: 6.625 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.437/1.437, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7625/0.7625, allocations: 132.2 MB / 422.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 69.14 kB / 0.5013 GB, free: 4.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4999/0.5011, allocations: 80.2 MB / 0.5796 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002848/0.504, allocations: 1.544 MB / 0.5811 GB, free: 3.496 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.5052, allocations: 0.8097 MB / 0.5819 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.926e-05/0.5053, allocations: 0 / 0.5819 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.842e-05/0.5053, allocations: 9.344 kB / 0.5819 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.617e-05/0.5054, allocations: 10.23 kB / 0.5819 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.5058, allocations: 121.1 kB / 0.582 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.513e-05/0.5059, allocations: 50.7 kB / 0.5821 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.506, allocations: 13.31 kB / 0.5821 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.715e-05/0.5061, allocations: 18.44 kB / 0.5821 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.714e-05/0.5061, allocations: 33.41 kB / 0.5821 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.5061, allocations: 4.094 kB / 0.5822 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003477/0.5065, allocations: 173 kB / 0.5823 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.5065, allocations: 10.77 kB / 0.5823 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.235e-05/0.5066, allocations: 24.66 kB / 0.5823 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.5068, allocations: 142.9 kB / 0.5825 GB, free: 2.691 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.5069, allocations: 2.109 kB / 0.5825 GB, free: 2.691 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5069, allocations: 0 / 0.5825 GB, free: 2.691 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.5069, allocations: 0 / 0.5825 GB, free: 2.691 MB / 430.1 MB 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.0005023/0.5074, allocations: 401.2 kB / 0.5829 GB, free: 2.297 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.5074, allocations: 9.75 kB / 0.5829 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.5075, allocations: 7.219 kB / 0.5829 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.622e-05/0.5075, allocations: 176.6 kB / 0.5831 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.5076, allocations: 1.812 kB / 0.5831 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.5076, allocations: 2.469 kB / 0.5831 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.5078, allocations: 80.64 kB / 0.5831 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.5079, allocations: 192 / 0.5831 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.5079, allocations: 6.266 kB / 0.5831 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.5079, allocations: 0 / 0.5831 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/0.5082, allocations: 66.05 kB / 0.5832 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.5085, allocations: 290.2 kB / 0.5835 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.5087, allocations: 51.91 kB / 0.5835 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.5089, allocations: 37.05 kB / 0.5836 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/0.5091, allocations: 93.39 kB / 0.5837 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.5091, allocations: 48.28 kB / 0.5837 GB, free: 1.539 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.5091, allocations: 3.938 kB / 0.5837 GB, free: 1.535 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005193/0.5096, allocations: 129.1 kB / 0.5838 GB, free: 1.488 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.5097, allocations: 52.19 kB / 0.5839 GB, free: 1.426 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.341e-05/0.5097, allocations: 121.3 kB / 0.584 GB, free: 1.316 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.5098, allocations: 26.55 kB / 0.584 GB, free: 1.285 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.199e-05/0.5098, allocations: 88.05 kB / 0.5841 GB, free: 1.199 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.5098, allocations: 9.703 kB / 0.5841 GB, free: 1.191 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.5099, allocations: 17.59 kB / 0.5841 GB, free: 1.172 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.68e-05/0.5099, allocations: 321.7 kB / 0.5844 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.5101, allocations: 31.39 kB / 0.5845 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.5102, allocations: 31.89 kB / 0.5845 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.5105, allocations: 75.27 kB / 0.5846 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5105, allocations: 0 / 0.5846 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000307/0.5108, allocations: 107.8 kB / 0.5847 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.5108, allocations: 6.406 kB / 0.5847 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.5108, allocations: 4.641 kB / 0.5847 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.5108, allocations: 1.188 kB / 0.5847 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.511, allocations: 15.05 kB / 0.5847 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.511, allocations: 0.5156 kB / 0.5847 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.525e-05/0.5111, allocations: 12.16 kB / 0.5847 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.5111, allocations: 4.688 kB / 0.5847 GB, free: 0.7617 MB / 430.1 MB 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 5.886e-05/0.5111, allocations: 116.8 kB / 0.5848 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.5112, allocations: 7.922 kB / 0.5848 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000353/0.5115, allocations: 105.7 kB / 0.5849 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.5115, allocations: 0 / 0.5849 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5115, allocations: 4.688 kB / 0.5849 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5115, allocations: 0.7188 kB / 0.5849 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.5117, allocations: 177.3 kB / 0.5851 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5117, allocations: 1.438 kB / 0.5851 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.5118, allocations: 18.89 kB / 0.5851 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5118, allocations: 0 / 0.5851 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.5118, allocations: 1.781 kB / 0.5851 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5118, allocations: 3.938 kB / 0.5851 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5118, allocations: 0.8438 kB / 0.5851 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.5122, allocations: 199.6 kB / 0.5853 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/0.5122, allocations: 82.77 kB / 0.5854 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.5122, allocations: 1.156 kB / 0.5854 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.5123, allocations: 15.56 kB / 0.5854 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.5124, allocations: 4.531 kB / 0.5854 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.5124, allocations: 5 kB / 0.5854 GB, free: 120 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.032e-05/0.5124, allocations: 91.73 kB / 0.5855 GB, free: 40 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5124, allocations: 3.938 kB / 0.5855 GB, free: 36 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.5127, allocations: 40.66 kB / 0.5856 GB, free: 20 kB / 430.1 MB 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.0002417/0.513, allocations: 120.9 kB / 0.5857 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003407/0.5133, allocations: 74.89 kB / 0.5857 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5133, allocations: 1.125 kB / 0.5857 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.5135, allocations: 34.14 kB / 0.5858 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.5138, allocations: 18.8 kB / 0.5858 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.5141, allocations: 157.4 kB / 0.5859 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.5144, allocations: 0.6829 MB / 0.5866 GB, free: 15.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.32e-05/0.5145, allocations: 3.375 kB / 0.5866 GB, free: 15.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.5145, allocations: 9.969 kB / 0.5866 GB, free: 15.05 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5145, allocations: 0 / 0.5866 GB, free: 15.05 MB / 446.1 MB Notification: Performance of Templates: time 0.004009/0.5185, allocations: 1.252 MB / 0.5878 GB, free: 14.93 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)