Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005446/0.005446, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.001231/0.001231, allocations: 189.6 kB / 16.67 MB, free: 5.969 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9148/0.9148, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.91 kB / 0.5851 GB, free: 3.875 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4638/0.4651, allocations: 80.92 MB / 0.6641 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003281/0.4685, allocations: 1.669 MB / 0.6658 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008533/0.4694, allocations: 398.4 kB / 0.6662 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.004e-05/0.4695, allocations: 1.625 kB / 0.6662 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.4696, allocations: 15.8 kB / 0.6662 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.177e-05/0.4697, allocations: 26.09 kB / 0.6662 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.4702, allocations: 120 kB / 0.6663 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.4703, allocations: 110 kB / 0.6664 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.4705, allocations: 41.22 kB / 0.6665 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.105e-05/0.4706, allocations: 39.53 kB / 0.6665 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.135e-05/0.4706, allocations: 40.28 kB / 0.6665 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.4707, allocations: 7.781 kB / 0.6665 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.4708, allocations: 63.41 kB / 0.6666 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.721e-05/0.4708, allocations: 19.86 kB / 0.6666 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.913e-05/0.4709, allocations: 50.5 kB / 0.6667 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.4711, allocations: 125 kB / 0.6668 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4711, allocations: 1.312 kB / 0.6668 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4711, allocations: 4 kB / 0.6668 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.4712, allocations: 0 / 0.6668 GB, free: 5.258 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000552/0.4717, allocations: 418.3 kB / 0.6672 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.4718, allocations: 14.03 kB / 0.6672 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.205e-05/0.4718, allocations: 45.17 kB / 0.6672 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002216/0.472, allocations: 25.7 kB / 0.6673 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.4723, allocations: 197.6 kB / 0.6675 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-05/0.4724, allocations: 43.25 kB / 0.6675 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.4724, allocations: 8.562 kB / 0.6675 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.4727, allocations: 103 kB / 0.6676 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.4727, allocations: 3.938 kB / 0.6676 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.4727, allocations: 1.125 kB / 0.6676 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.4727, allocations: 1.5 kB / 0.6676 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.473, allocations: 82.84 kB / 0.6677 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006894/0.4737, allocations: 379.9 kB / 0.6681 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005562/0.4742, allocations: 130.4 kB / 0.6682 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.4744, allocations: 41.56 kB / 0.6682 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.4744, allocations: 0 / 0.6682 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.4744, allocations: 31.88 kB / 0.6682 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.4744, allocations: 0 / 0.6682 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004391/0.4749, allocations: 143.6 kB / 0.6684 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.4749, allocations: 56.59 kB / 0.6684 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.374e-05/0.475, allocations: 142.2 kB / 0.6686 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.475, allocations: 29.7 kB / 0.6686 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.683e-05/0.4751, allocations: 99.94 kB / 0.6687 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.4751, allocations: 23.16 kB / 0.6687 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.4752, allocations: 23.02 kB / 0.6687 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.788e-05/0.4752, allocations: 320.4 kB / 0.669 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.4753, allocations: 28.16 kB / 0.6691 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.4754, allocations: 48.66 kB / 0.6691 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.4756, allocations: 72.12 kB / 0.6692 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4756, allocations: 4 kB / 0.6692 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002557/0.4759, allocations: 115.8 kB / 0.6693 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.4759, allocations: 11.09 kB / 0.6693 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4759, allocations: 5.469 kB / 0.6693 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.476, allocations: 5 kB / 0.6693 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.4761, allocations: 17.98 kB / 0.6693 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.4761, allocations: 0 / 0.6693 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.789e-05/0.4762, allocations: 21.44 kB / 0.6694 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.4762, allocations: 1.312 kB / 0.6694 GB, free: 2.926 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.735e-05/0.4763, allocations: 117.9 kB / 0.6695 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.4763, allocations: 8.719 kB / 0.6695 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.231e-05/0.4763, allocations: 14.06 kB / 0.6695 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4763, allocations: 5.375 kB / 0.6695 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4764, allocations: 0 / 0.6695 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4764, allocations: 9.234 kB / 0.6695 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.4765, allocations: 196.6 kB / 0.6697 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4765, allocations: 4 kB / 0.6697 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.614e-05/0.4766, allocations: 19.33 kB / 0.6697 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.4767, allocations: 1.5 kB / 0.6697 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.4767, allocations: 0 / 0.6697 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.4767, allocations: 3.938 kB / 0.6697 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4767, allocations: 1.25 kB / 0.6697 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.4769, allocations: 203.3 kB / 0.6699 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.477, allocations: 92.34 kB / 0.67 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.477, allocations: 4 kB / 0.67 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.4772, allocations: 15.42 kB / 0.67 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.4772, allocations: 2.75 kB / 0.67 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.4772, allocations: 5.766 kB / 0.67 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.236e-05/0.4773, allocations: 103.6 kB / 0.6701 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4773, allocations: 0 / 0.6701 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002567/0.4775, allocations: 20.41 kB / 0.6702 GB, free: 2.156 MB / 0.4981 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 (7): * Single equations (assignments): 7 * 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.0004896/0.478, allocations: 0.739 MB / 0.6709 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002689/0.4783, allocations: 73.42 kB / 0.6709 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4783, allocations: 4.062 kB / 0.6709 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.4785, allocations: 42.02 kB / 0.671 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.4788, allocations: 26.36 kB / 0.671 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.4804, allocations: 1.551 MB / 0.6725 GB, free: 0 / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.4808, allocations: 0.6963 MB / 0.6732 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.206e-05/0.4808, allocations: 11.42 kB / 0.6732 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.982e-05/0.4809, allocations: 27.56 kB / 0.6732 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.4809, allocations: 0 / 0.6732 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.5015, allocations: 2.758 MB / 0.6759 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.396/7.898, allocations: 15.31 kB / 0.676 GB, free: 13.81 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)