Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_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.001406/0.001406, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001764/0.001764, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.482/2.482, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.228/1.228, allocations: 132.2 MB / 423.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005254/0.0005256, allocations: 12 kB / 0.5033 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9198/0.9204, allocations: 81.58 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001855/0.9223, allocations: 1.111 MB / 0.5841 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.9235, allocations: 0.537 MB / 0.5846 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.9236, allocations: 5.25 kB / 0.5846 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.9236, allocations: 5.219 kB / 0.5846 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.9238, allocations: 3.781 kB / 0.5846 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007648/0.9245, allocations: 90.75 kB / 0.5847 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.958e-05/0.9247, allocations: 11.03 kB / 0.5847 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.9248, allocations: 12.03 kB / 0.5847 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.657e-05/0.9249, allocations: 9.75 kB / 0.5847 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.563e-05/0.925, allocations: 9.625 kB / 0.5847 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.925, allocations: 1.062 kB / 0.5847 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005636/0.9256, allocations: 157.7 kB / 0.5849 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.9256, allocations: 1.844 kB / 0.5849 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.241e-05/0.9257, allocations: 27.44 kB / 0.5849 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.926, allocations: 71.5 kB / 0.585 GB, free: 2.688 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.926, allocations: 0 / 0.585 GB, free: 2.688 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.926, allocations: 0.9688 kB / 0.585 GB, free: 2.688 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.926, allocations: 4 kB / 0.585 GB, free: 2.684 MB / 430.1 MB 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.0004894/0.9265, allocations: 362.5 kB / 0.5853 GB, free: 2.312 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.9266, allocations: 9.281 kB / 0.5853 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/0.9266, allocations: 39.16 kB / 0.5854 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004323/0.9271, allocations: 34 kB / 0.5854 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.286e-05/0.9272, allocations: 161.6 kB / 0.5855 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.9272, allocations: 5.562 kB / 0.5856 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.9272, allocations: 1.219 kB / 0.5856 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.9275, allocations: 67.59 kB / 0.5856 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.9275, allocations: 0 / 0.5856 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.9275, allocations: 4.625 kB / 0.5856 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.9275, allocations: 4.812 kB / 0.5856 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/0.9278, allocations: 60.33 kB / 0.5857 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.9283, allocations: 288.2 kB / 0.586 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.9286, allocations: 60.22 kB / 0.586 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.9286, allocations: 5.125 kB / 0.586 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.9286, allocations: 31.27 kB / 0.5861 GB, free: 1.637 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.9287, allocations: 1.031 kB / 0.5861 GB, free: 1.637 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006526/0.9293, allocations: 137.7 kB / 0.5862 GB, free: 1.578 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.9294, allocations: 52.19 kB / 0.5862 GB, free: 1.516 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.856e-05/0.9294, allocations: 100.8 kB / 0.5863 GB, free: 1.414 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.9295, allocations: 26.52 kB / 0.5864 GB, free: 1.383 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.9295, allocations: 81.67 kB / 0.5864 GB, free: 1.301 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.9295, allocations: 9.328 kB / 0.5864 GB, free: 1.293 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.9296, allocations: 0.75 kB / 0.5864 GB, free: 1.293 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.777e-05/0.9296, allocations: 317 kB / 0.5867 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.9298, allocations: 30.52 kB / 0.5868 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.9299, allocations: 39.11 kB / 0.5868 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.9301, allocations: 28.48 kB / 0.5868 GB, free: 0.957 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9301, allocations: 0 / 0.5868 GB, free: 0.957 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003501/0.9305, allocations: 103 kB / 0.5869 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.9305, allocations: 4.125 kB / 0.5869 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.9305, allocations: 1.922 kB / 0.5869 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.9305, allocations: 0 / 0.5869 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.9307, allocations: 23.59 kB / 0.587 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.9307, allocations: 0.5625 kB / 0.587 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.894e-05/0.9308, allocations: 11.05 kB / 0.587 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.9308, allocations: 6.312 kB / 0.587 GB, free: 0.8984 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.787e-05/0.9309, allocations: 112 kB / 0.5871 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.9309, allocations: 1.531 kB / 0.5871 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.113e-05/0.931, allocations: 13.7 kB / 0.5871 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.931, allocations: 192 / 0.5871 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.931, allocations: 4.734 kB / 0.5871 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.931, allocations: 4.594 kB / 0.5871 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.9312, allocations: 165.3 kB / 0.5873 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.9312, allocations: 0 / 0.5873 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.9313, allocations: 16.03 kB / 0.5873 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.9314, allocations: 4 kB / 0.5873 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.9314, allocations: 2.266 kB / 0.5873 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.9314, allocations: 0.625 kB / 0.5873 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.9314, allocations: 0 / 0.5873 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.9318, allocations: 205.7 kB / 0.5875 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.907e-05/0.9319, allocations: 82.48 kB / 0.5876 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.9319, allocations: 1.297 kB / 0.5876 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.932, allocations: 10.48 kB / 0.5876 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.9321, allocations: 2.906 kB / 0.5876 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.9321, allocations: 6.547 kB / 0.5876 GB, free: 312 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.123e-05/0.9321, allocations: 84.03 kB / 0.5877 GB, free: 232 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9321, allocations: 0 / 0.5877 GB, free: 232 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002874/0.9324, allocations: 15.19 kB / 0.5877 GB, free: 228 kB / 430.1 MB 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 (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.000908/0.9333, allocations: 0.7345 MB / 0.5884 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003551/0.9337, allocations: 68.55 kB / 0.5885 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9337, allocations: 0.9688 kB / 0.5885 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.9339, allocations: 38.66 kB / 0.5885 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.9341, allocations: 3.703 kB / 0.5885 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007321/0.9349, allocations: 174.4 kB / 0.5887 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.9353, allocations: 0.6784 MB / 0.5893 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.9355, allocations: 15.75 kB / 0.5893 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.9355, allocations: 11.11 kB / 0.5894 GB, free: 14.65 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.9355, allocations: 0 / 0.5894 GB, free: 14.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01426/0.9498, allocations: 1.366 MB / 0.5907 GB, free: 14.53 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002784/0.9501, allocations: 187.2 kB / 0.5909 GB, free: 14.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.681/3.632, allocations: 0 / 0.5909 GB, free: 14.29 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) Environment - environmentSimulation: