Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",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.006143/0.006143, allocations: 97.39 kB / 15.73 MB, free: 6.039 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.001586/0.001586, allocations: 202.3 kB / 16.68 MB, free: 5.961 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.019/1.019, allocations: 135.6 MB / 426.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 67.89 kB / 0.5857 GB, free: 3.219 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5662/0.5681, allocations: 81.02 MB / 0.6649 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002925/0.5711, allocations: 1.397 MB / 0.6662 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.5722, allocations: 0.5917 MB / 0.6668 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.5723, allocations: 0 / 0.6668 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.072e-05/0.5723, allocations: 1.219 kB / 0.6668 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.095e-05/0.5724, allocations: 7.922 kB / 0.6668 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.5729, allocations: 105.1 kB / 0.6669 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.844e-05/0.573, allocations: 25.27 kB / 0.6669 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.5731, allocations: 7.562 kB / 0.6669 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.179e-05/0.5732, allocations: 3.875 kB / 0.6669 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.839e-05/0.5732, allocations: 19.73 kB / 0.667 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.5733, allocations: 2.438 kB / 0.667 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003301/0.5736, allocations: 146.7 kB / 0.6671 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.5736, allocations: 1.125 kB / 0.6671 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.5737, allocations: 14.75 kB / 0.6671 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.5739, allocations: 108 kB / 0.6672 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.574, allocations: 0 / 0.6672 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.435e-06/0.574, allocations: 0 / 0.6672 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.574, allocations: 1.125 kB / 0.6672 GB, free: 5.027 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005581/0.5745, allocations: 357.6 kB / 0.6676 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/0.5746, allocations: 10.03 kB / 0.6676 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.5747, allocations: 30.75 kB / 0.6676 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004764/0.5751, allocations: 37.95 kB / 0.6676 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.5753, allocations: 161.8 kB / 0.6678 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.5753, allocations: 384 / 0.6678 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.5753, allocations: 5.812 kB / 0.6678 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.5756, allocations: 63.2 kB / 0.6679 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.5756, allocations: 3.938 kB / 0.6679 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.5756, allocations: 4 kB / 0.6679 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.5756, allocations: 1.25 kB / 0.6679 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002566/0.5759, allocations: 51.06 kB / 0.6679 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.5763, allocations: 275.2 kB / 0.6682 GB, free: 4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.5765, allocations: 64.88 kB / 0.6682 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.5766, allocations: 31.7 kB / 0.6683 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.5767, allocations: 0 / 0.6683 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.5767, allocations: 35.88 kB / 0.6683 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.5767, allocations: 3.938 kB / 0.6683 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0005031/0.5772, allocations: 119.6 kB / 0.6684 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.5772, allocations: 55.53 kB / 0.6685 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.231e-05/0.5773, allocations: 95.05 kB / 0.6686 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.5773, allocations: 25.7 kB / 0.6686 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.5774, allocations: 85.52 kB / 0.6687 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.5774, allocations: 9.266 kB / 0.6687 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.5774, allocations: 20.45 kB / 0.6687 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.55e-05/0.5775, allocations: 316 kB / 0.669 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.5776, allocations: 30.09 kB / 0.669 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.5778, allocations: 25 kB / 0.6691 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.578, allocations: 56.7 kB / 0.6691 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.5781, allocations: 11.94 kB / 0.6691 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003078/0.5784, allocations: 86.3 kB / 0.6692 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.5784, allocations: 4.781 kB / 0.6692 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.5784, allocations: 0 / 0.6692 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.5784, allocations: 1.312 kB / 0.6692 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.5786, allocations: 16.69 kB / 0.6692 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.5786, allocations: 4.031 kB / 0.6692 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.851e-05/0.5787, allocations: 16.88 kB / 0.6692 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.5787, allocations: 1.531 kB / 0.6692 GB, free: 3.023 MB / 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 (2): * Single equations (assignments): 2 * 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 7.641e-05/0.5788, allocations: 115.2 kB / 0.6694 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.5788, allocations: 1.5 kB / 0.6694 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.5789, allocations: 4.531 kB / 0.6694 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5789, allocations: 4.188 kB / 0.6694 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.5789, allocations: 0 / 0.6694 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.5789, allocations: 5.016 kB / 0.6694 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.5791, allocations: 174.7 kB / 0.6695 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5791, allocations: 1.188 kB / 0.6695 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.5792, allocations: 12.08 kB / 0.6696 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5792, allocations: 0 / 0.6696 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.5792, allocations: 1.25 kB / 0.6696 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5792, allocations: 0 / 0.6696 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5792, allocations: 1.094 kB / 0.6696 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/0.5796, allocations: 192.5 kB / 0.6697 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/0.5796, allocations: 82.2 kB / 0.6698 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.5797, allocations: 0 / 0.6698 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.5798, allocations: 13.52 kB / 0.6698 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.5798, allocations: 1.219 kB / 0.6698 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.118e-06/0.5799, allocations: 4.828 kB / 0.6698 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.659e-05/0.5799, allocations: 83.84 kB / 0.6699 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5799, allocations: 0 / 0.6699 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002601/0.5802, allocations: 14.16 kB / 0.6699 GB, free: 2.305 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 (2): * Single equations (assignments): 2 * 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.0006146/0.5808, allocations: 0.7321 MB / 0.6706 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003106/0.5811, allocations: 63 kB / 0.6707 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5811, allocations: 0 / 0.6707 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.5813, allocations: 28.12 kB / 0.6707 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.5816, allocations: 6.375 kB / 0.6707 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005649/0.5822, allocations: 173 kB / 0.6709 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.5823, allocations: 0.6767 MB / 0.6716 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.603e-05/0.5824, allocations: 10.62 kB / 0.6716 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.913e-05/0.5824, allocations: 21.98 kB / 0.6716 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.5824, allocations: 0 / 0.6716 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.6065, allocations: 1.655 MB / 0.6732 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.86/8.467, allocations: 12.92 kB / 0.6732 GB, free: 15.73 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)