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.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.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001693/0.001694, allocations: 198.7 kB / 16.91 MB, free: 6.195 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8845/0.8845, allocations: 135.1 MB / 425.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001502, allocations: 63.91 kB / 0.5055 GB, free: 8.742 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3468, allocations: 80.91 MB / 0.5845 GB, free: 25.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002646/0.3495, allocations: 1.69 MB / 0.5862 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1544/0.5039, allocations: 149.4 MB / 0.732 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.5041, allocations: 0 / 0.732 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.5044, allocations: 11.86 kB / 0.732 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.5047, allocations: 35.78 kB / 0.7321 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.5051, allocations: 135.5 kB / 0.7322 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.5054, allocations: 119.6 kB / 0.7323 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.5055, allocations: 39.42 kB / 0.7323 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001926/0.5074, allocations: 183.1 kB / 0.7325 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.073e-05/0.5075, allocations: 39.78 kB / 0.7326 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.5076, allocations: 8 kB / 0.7326 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.508, allocations: 187.6 kB / 0.7327 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.014e-05/0.508, allocations: 19.92 kB / 0.7328 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.811e-05/0.5081, allocations: 43.8 kB / 0.7328 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.5084, allocations: 135.6 kB / 0.7329 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5084, allocations: 4 kB / 0.7329 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5084, allocations: 0 / 0.7329 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.5084, allocations: 4 kB / 0.7329 GB, free: 2.297 MB / 0.5606 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.0006801/0.5091, allocations: 442.9 kB / 0.7334 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.5092, allocations: 9.109 kB / 0.7334 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.5102, allocations: 83.94 kB / 0.7335 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.5104, allocations: 217.1 kB / 0.7337 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.5105, allocations: 4 kB / 0.7337 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.5105, allocations: 11.94 kB / 0.7337 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004885/0.511, allocations: 141.5 kB / 0.7338 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.511, allocations: 0 / 0.7338 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.511, allocations: 0 / 0.7338 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.511, allocations: 3.938 kB / 0.7338 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005328/0.5116, allocations: 139.9 kB / 0.7339 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008038/0.5124, allocations: 408.4 kB / 0.7343 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007076/0.5131, allocations: 255.7 kB / 0.7346 GB, free: 460 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.5134, allocations: 76.8 kB / 0.7347 GB, free: 380 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.5134, allocations: 0 / 0.7347 GB, free: 380 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.5134, allocations: 30.56 kB / 0.7347 GB, free: 340 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.5134, allocations: 0 / 0.7347 GB, free: 340 kB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0008162/0.5143, allocations: 209.4 kB / 0.7349 GB, free: 124 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.5143, allocations: 59.41 kB / 0.7349 GB, free: 52 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.5145, allocations: 149.7 kB / 0.7351 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.5145, allocations: 33.7 kB / 0.7351 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.5146, allocations: 104 kB / 0.7352 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.5146, allocations: 27.77 kB / 0.7352 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.543e-05/0.5147, allocations: 25.7 kB / 0.7353 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.5149, allocations: 326.8 kB / 0.7356 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.5151, allocations: 47.95 kB / 0.7356 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.5153, allocations: 82.45 kB / 0.7357 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/0.5158, allocations: 125.2 kB / 0.7358 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.5158, allocations: 0 / 0.7358 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000484/0.5163, allocations: 157.4 kB / 0.736 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.5163, allocations: 6.031 kB / 0.736 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5163, allocations: 0 / 0.736 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.5163, allocations: 8 kB / 0.736 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.5165, allocations: 27.95 kB / 0.736 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.5166, allocations: 0 / 0.736 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.5167, allocations: 27.89 kB / 0.736 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.5167, allocations: 0 / 0.736 GB, free: 14.88 MB / 0.5762 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 0.0001278/0.5169, allocations: 129.7 kB / 0.7362 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.5169, allocations: 11.91 kB / 0.7362 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.96e-05/0.517, allocations: 16.72 kB / 0.7362 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.517, allocations: 0 / 0.7362 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.517, allocations: 0 / 0.7362 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.517, allocations: 0 / 0.7362 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007998/0.5178, allocations: 466.2 kB / 0.7366 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5178, allocations: 0 / 0.7366 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.518, allocations: 31.97 kB / 0.7367 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.518, allocations: 0 / 0.7367 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.5181, allocations: 7.922 kB / 0.7367 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.5181, allocations: 3.938 kB / 0.7367 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5181, allocations: 4 kB / 0.7367 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005164/0.5186, allocations: 259.3 kB / 0.7369 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.5187, allocations: 89 kB / 0.737 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.5187, allocations: 8 kB / 0.737 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.5189, allocations: 15.92 kB / 0.737 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.5189, allocations: 11.98 kB / 0.737 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.519, allocations: 0 / 0.737 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.402e-05/0.519, allocations: 114.5 kB / 0.7372 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.519, allocations: 0 / 0.7372 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002886/0.5193, allocations: 35.94 kB / 0.7372 GB, free: 13.6 MB / 0.5762 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.0001736/0.5195, allocations: 107.2 kB / 0.7373 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005225/0.52, allocations: 139.8 kB / 0.7374 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5201, allocations: 0 / 0.7374 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002296/0.5203, allocations: 71.94 kB / 0.7375 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.5207, allocations: 24.39 kB / 0.7375 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006726/0.5214, allocations: 292.8 kB / 0.7378 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.5217, allocations: 0.7002 MB / 0.7385 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.846e-05/0.5217, allocations: 19.42 kB / 0.7385 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.5217, allocations: 0 / 0.7385 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of Templates: time 0.003744/0.5255, allocations: 1.713 MB / 0.7402 GB, free: 10.49 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)