Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_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.006028/0.006028, allocations: 95.8 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.001141/0.001141, allocations: 202.5 kB / 16.68 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.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002411/0.002411, allocations: 290.5 kB / 290.8 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9701/0.9701, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003443/0.003443, allocations: 100.1 kB / 0.681 GB, free: 20 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2453, allocations: 86.97 MB / 0.7659 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002683/0.248, allocations: 1.41 MB / 0.7673 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.2491, allocations: 0.5895 MB / 0.7678 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.644e-05/0.2491, allocations: 4 kB / 0.7678 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.919e-05/0.2492, allocations: 3.938 kB / 0.7678 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.025e-05/0.2493, allocations: 7.875 kB / 0.7679 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.2497, allocations: 91.56 kB / 0.7679 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.437e-05/0.2498, allocations: 35.86 kB / 0.768 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.2499, allocations: 7.984 kB / 0.768 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.617e-05/0.25, allocations: 8 kB / 0.768 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.361e-05/0.2501, allocations: 19.92 kB / 0.768 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.2501, allocations: 0 / 0.768 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.2504, allocations: 143.8 kB / 0.7681 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.2504, allocations: 0 / 0.7681 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.2504, allocations: 11.94 kB / 0.7682 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.2507, allocations: 103.9 kB / 0.7683 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2507, allocations: 4 kB / 0.7683 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2507, allocations: 0 / 0.7683 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.2507, allocations: 0 / 0.7683 GB, free: 6.527 MB / 0.5606 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.000541/0.2513, allocations: 363.2 kB / 0.7686 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.2513, allocations: 8.031 kB / 0.7686 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.2514, allocations: 30.75 kB / 0.7686 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004374/0.2518, allocations: 32.89 kB / 0.7687 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.252, allocations: 172.3 kB / 0.7688 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.252, allocations: 384 / 0.7688 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.252, allocations: 384 / 0.7688 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.2523, allocations: 74.14 kB / 0.7689 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2523, allocations: 3.938 kB / 0.7689 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2523, allocations: 3.984 kB / 0.7689 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2523, allocations: 4 kB / 0.7689 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002575/0.2526, allocations: 51.94 kB / 0.769 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.253, allocations: 272.9 kB / 0.7692 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.2533, allocations: 62.47 kB / 0.7693 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.2534, allocations: 40.83 kB / 0.7693 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.2535, allocations: 4 kB / 0.7693 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.2535, allocations: 30.56 kB / 0.7694 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2535, allocations: 0 / 0.7694 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.00052/0.254, allocations: 109.6 kB / 0.7695 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.2541, allocations: 51.41 kB / 0.7695 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.186e-05/0.2541, allocations: 105.8 kB / 0.7696 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.2542, allocations: 25.7 kB / 0.7696 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.492e-05/0.2542, allocations: 80.14 kB / 0.7697 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.2542, allocations: 7.953 kB / 0.7697 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.2543, allocations: 21.64 kB / 0.7697 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.2544, allocations: 315 kB / 0.77 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.2545, allocations: 31.91 kB / 0.7701 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.2546, allocations: 27.91 kB / 0.7701 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.2549, allocations: 64.86 kB / 0.7702 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2549, allocations: 3.938 kB / 0.7702 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002988/0.2552, allocations: 85.59 kB / 0.7703 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2553, allocations: 4 kB / 0.7703 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2553, allocations: 8.031 kB / 0.7703 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2553, allocations: 0 / 0.7703 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.2554, allocations: 15.97 kB / 0.7703 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.2554, allocations: 0 / 0.7703 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.628e-05/0.2555, allocations: 4 kB / 0.7703 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.2555, allocations: 7.922 kB / 0.7703 GB, free: 4.211 MB / 0.5606 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.573e-05/0.2556, allocations: 118.4 kB / 0.7704 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.2557, allocations: 4 kB / 0.7704 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.2557, allocations: 3.125 kB / 0.7704 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.2557, allocations: 4 kB / 0.7704 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2557, allocations: 0 / 0.7704 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2557, allocations: 0 / 0.7704 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.2559, allocations: 165.6 kB / 0.7706 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.2559, allocations: 3.984 kB / 0.7706 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.256, allocations: 11.98 kB / 0.7706 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.256, allocations: 8 kB / 0.7706 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.256, allocations: 0 / 0.7706 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.256, allocations: 0 / 0.7706 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.256, allocations: 4 kB / 0.7706 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003434/0.2564, allocations: 183.4 kB / 0.7708 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.2564, allocations: 89.06 kB / 0.7709 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.2564, allocations: 0 / 0.7709 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.2566, allocations: 11.92 kB / 0.7709 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.2566, allocations: 0 / 0.7709 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.2566, allocations: 7.984 kB / 0.7709 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.05e-05/0.2567, allocations: 75.28 kB / 0.771 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.834e-06/0.2567, allocations: 0 / 0.771 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002419/0.2569, allocations: 19.88 kB / 0.771 GB, free: 3.426 MB / 0.5606 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.000674/0.2576, allocations: 0.7358 MB / 0.7717 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003079/0.2579, allocations: 59.91 kB / 0.7717 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2579, allocations: 0 / 0.7717 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.2581, allocations: 27.97 kB / 0.7718 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.2584, allocations: 16 kB / 0.7718 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005618/0.2589, allocations: 164.2 kB / 0.7719 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.2592, allocations: 0.6768 MB / 0.7726 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.514e-05/0.2592, allocations: 8.328 kB / 0.7726 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.2593, allocations: 19.44 kB / 0.7726 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.2593, allocations: 0 / 0.7726 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01472/0.274, allocations: 1.671 MB / 0.7743 GB, free: 104 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.239/7.513, allocations: 12.41 kB / 0.7743 GB, free: 96 kB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)