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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8283/0.8283, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 221.3 MB / 400.4 MB, free: 5.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009998/0.0009998, allocations: 99.75 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.06e-05/4.073e-05, allocations: 2.594 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1847, allocations: 82.31 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6461/0.8309, allocations: 112.7 MB / 0.7505 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.8312, allocations: 75.56 kB / 0.7506 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.006444/0.8376, allocations: 1.97 MB / 0.7525 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.91e-07/0.8377, allocations: 0 / 0.7525 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.8377, allocations: 0 / 0.7525 GB, free: 27.56 MB / 0.5105 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.0004169/0.8381, allocations: 372 kB / 0.7529 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.8381, allocations: 11.69 kB / 0.7529 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.8382, allocations: 30.56 kB / 0.7529 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003265/0.8385, allocations: 33.3 kB / 0.7529 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.8386, allocations: 163 kB / 0.7531 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.8387, allocations: 3.875 kB / 0.7531 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.8387, allocations: 4 kB / 0.7531 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.8388, allocations: 51.38 kB / 0.7532 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.8388, allocations: 0 / 0.7532 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.8388, allocations: 0 / 0.7532 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.8388, allocations: 1.75 kB / 0.7532 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.644e-05/0.8389, allocations: 25.83 kB / 0.7532 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.8394, allocations: 271.5 kB / 0.7534 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.304e-05/0.8394, allocations: 40.27 kB / 0.7535 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.153e-05/0.8395, allocations: 16.42 kB / 0.7535 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.8395, allocations: 3.672 kB / 0.7535 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.8395, allocations: 39.5 kB / 0.7535 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.8395, allocations: 0 / 0.7535 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001859/0.8397, allocations: 53.83 kB / 0.7536 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.8398, allocations: 62.34 kB / 0.7536 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.013e-05/0.8399, allocations: 88.84 kB / 0.7537 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.8399, allocations: 29.55 kB / 0.7538 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.8399, allocations: 84.08 kB / 0.7538 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.84, allocations: 3.906 kB / 0.7538 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.84, allocations: 3.938 kB / 0.7538 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.8401, allocations: 313.5 kB / 0.7541 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.564e-05/0.8401, allocations: 11.56 kB / 0.7542 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.286e-05/0.8401, allocations: 18.12 kB / 0.7542 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.901e-05/0.8402, allocations: 7.688 kB / 0.7542 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.8402, allocations: 0 / 0.7542 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001051/0.8403, allocations: 62.34 kB / 0.7542 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.8403, allocations: 3.844 kB / 0.7542 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.8403, allocations: 0 / 0.7542 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.8403, allocations: 0 / 0.7542 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.8405, allocations: 17.02 kB / 0.7543 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.8405, allocations: 6.719 kB / 0.7543 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.695e-05/0.8406, allocations: 18.06 kB / 0.7543 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.8406, allocations: 4.031 kB / 0.7543 GB, free: 25.89 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.95e-05/0.8407, allocations: 101 kB / 0.7544 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.8407, allocations: 0 / 0.7544 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.187e-05/0.8408, allocations: 13.78 kB / 0.7544 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.8408, allocations: 3.844 kB / 0.7544 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.8408, allocations: 0.875 kB / 0.7544 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.8408, allocations: 0 / 0.7544 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.841, allocations: 169.8 kB / 0.7546 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.841, allocations: 3.969 kB / 0.7546 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.8411, allocations: 16.78 kB / 0.7546 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.8411, allocations: 0 / 0.7546 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.8411, allocations: 10.66 kB / 0.7546 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.8411, allocations: 7.938 kB / 0.7546 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8411, allocations: 0 / 0.7546 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.8413, allocations: 152 kB / 0.7547 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/0.8413, allocations: 83.92 kB / 0.7548 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.8413, allocations: 3.844 kB / 0.7548 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.8415, allocations: 9.984 kB / 0.7548 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.8415, allocations: 4.031 kB / 0.7548 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.8415, allocations: 2.391 kB / 0.7548 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.859e-05/0.8416, allocations: 79.12 kB / 0.7549 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.332e-06/0.8416, allocations: 0 / 0.7549 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000233/0.8418, allocations: 25.73 kB / 0.7549 GB, free: 25.24 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000481/0.8423, allocations: 0.7028 MB / 0.7556 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.8424, allocations: 23.95 kB / 0.7557 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8424, allocations: 0 / 0.7557 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.49e-05/0.8425, allocations: 18.12 kB / 0.7557 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.8426, allocations: 0 / 0.7557 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004126/0.843, allocations: 118.6 kB / 0.7558 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.8433, allocations: 0.6826 MB / 0.7565 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.17e-05/0.8434, allocations: 11.81 kB / 0.7565 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.8435, allocations: 14.22 kB / 0.7565 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/0.8435, allocations: 0 / 0.7565 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01238/0.8559, allocations: 1.363 MB / 0.7578 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/0.8561, allocations: 165.8 kB / 0.758 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.39, allocations: 0 / 0.758 GB, free: 23.35 MB / 0.5105 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/linux/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)