Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.005127/0.005127, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001309/0.001309, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7611/0.7611, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 71.88 kB / 0.5808 GB, free: 8.074 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4908/0.4922, allocations: 80.19 MB / 0.6592 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002475/0.4947, allocations: 1.41 MB / 0.6605 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005057/0.4953, allocations: 198.4 kB / 0.6607 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.535e-05/0.4953, allocations: 0 / 0.6607 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.309e-05/0.4954, allocations: 0.7969 kB / 0.6607 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.879e-05/0.4954, allocations: 5.25 kB / 0.6607 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.4958, allocations: 27.92 kB / 0.6608 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.738e-05/0.4958, allocations: 20.94 kB / 0.6608 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.496, allocations: 8.453 kB / 0.6608 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.163e-05/0.496, allocations: 9.984 kB / 0.6608 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.975e-05/0.4961, allocations: 17 kB / 0.6608 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.4961, allocations: 6.5 kB / 0.6608 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.4962, allocations: 29.33 kB / 0.6608 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.4962, allocations: 5.359 kB / 0.6609 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.955e-05/0.4963, allocations: 11.23 kB / 0.6609 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.4964, allocations: 32.78 kB / 0.6609 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4964, allocations: 0 / 0.6609 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.795e-06/0.4964, allocations: 0 / 0.6609 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.4965, allocations: 1.406 kB / 0.6609 GB, free: 8.684 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.0004777/0.4969, allocations: 350 kB / 0.6612 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.497, allocations: 9.344 kB / 0.6612 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.51e-05/0.497, allocations: 33.42 kB / 0.6613 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.4972, allocations: 3.328 kB / 0.6613 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.4973, allocations: 163.1 kB / 0.6614 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.4973, allocations: 2.844 kB / 0.6614 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.4973, allocations: 4.312 kB / 0.6614 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.4975, allocations: 49.36 kB / 0.6615 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.4976, allocations: 4.641 kB / 0.6615 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.4976, allocations: 9.062 kB / 0.6615 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.4976, allocations: 3.984 kB / 0.6615 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.4978, allocations: 33.12 kB / 0.6615 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.4982, allocations: 247.7 kB / 0.6618 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.4983, allocations: 36.03 kB / 0.6618 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.047e-05/0.4984, allocations: 27.39 kB / 0.6618 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.4984, allocations: 2.609 kB / 0.6618 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.4985, allocations: 34.5 kB / 0.6619 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.4985, allocations: 0 / 0.6619 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003863/0.4989, allocations: 88.28 kB / 0.6619 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.4989, allocations: 53.66 kB / 0.662 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.281e-05/0.499, allocations: 100.4 kB / 0.6621 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.499, allocations: 25.7 kB / 0.6621 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.499, allocations: 82.69 kB / 0.6622 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.4991, allocations: 8.406 kB / 0.6622 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.4991, allocations: 17.38 kB / 0.6622 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.511e-05/0.4992, allocations: 313.5 kB / 0.6625 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.439e-05/0.4993, allocations: 17.14 kB / 0.6625 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.552e-05/0.4994, allocations: 22.41 kB / 0.6626 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.4995, allocations: 37.22 kB / 0.6626 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.4995, allocations: 5.25 kB / 0.6626 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001966/0.4997, allocations: 66.3 kB / 0.6627 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.4998, allocations: 5.25 kB / 0.6627 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.4998, allocations: 2.203 kB / 0.6627 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4998, allocations: 0 / 0.6627 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.513e-05/0.4999, allocations: 8.516 kB / 0.6627 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.4999, allocations: 1.375 kB / 0.6627 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.565e-05/0.5, allocations: 13.44 kB / 0.6627 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.5, allocations: 5.344 kB / 0.6627 GB, free: 6.918 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.212e-05/0.5001, allocations: 121 kB / 0.6628 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.5001, allocations: 4.5 kB / 0.6628 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.5004, allocations: 75.84 kB / 0.6629 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5004, allocations: 0 / 0.6629 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.5004, allocations: 1.156 kB / 0.6629 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5004, allocations: 0.6562 kB / 0.6629 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.5005, allocations: 160.3 kB / 0.663 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5005, allocations: 6.047 kB / 0.6631 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.87e-05/0.5006, allocations: 9.266 kB / 0.6631 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.5006, allocations: 1.094 kB / 0.6631 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.5006, allocations: 3.938 kB / 0.6631 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.5006, allocations: 1.891 kB / 0.6631 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5006, allocations: 0 / 0.6631 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.5009, allocations: 178.5 kB / 0.6632 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/0.5009, allocations: 78.64 kB / 0.6633 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.5009, allocations: 0.6094 kB / 0.6633 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.284e-05/0.501, allocations: 10.53 kB / 0.6633 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.5011, allocations: 3.406 kB / 0.6633 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.5011, allocations: 0.75 kB / 0.6633 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.979e-05/0.5011, allocations: 84.31 kB / 0.6634 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5011, allocations: 0 / 0.6634 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002209/0.5014, allocations: 5.094 kB / 0.6634 GB, free: 6.211 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 (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.0003877/0.5018, allocations: 0.7043 MB / 0.6641 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.502, allocations: 38.19 kB / 0.6641 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.502, allocations: 4.062 kB / 0.6641 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.471e-05/0.5021, allocations: 21.45 kB / 0.6642 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.5024, allocations: 3.172 kB / 0.6642 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.5028, allocations: 161.1 kB / 0.6643 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.503, allocations: 0.6765 MB / 0.665 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.917e-05/0.503, allocations: 5.438 kB / 0.665 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.5031, allocations: 9.859 kB / 0.665 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.5031, allocations: 1.688 kB / 0.665 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.5247, allocations: 1.37 MB / 0.6663 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.554/8.078, allocations: 5.625 kB / 0.6663 GB, free: 4.02 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)