Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.001172/0.001172, allocations: 103.3 kB / 16.27 MB, free: 5.93 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.001233/0.001233, allocations: 186 kB / 17.2 MB, free: 5.574 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.162/1.162, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7259/0.7259, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 59.91 kB / 0.4912 GB, free: 7.324 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4374/0.4388, allocations: 77.92 MB / 0.5673 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00222/0.441, allocations: 1.276 MB / 0.5686 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000907/0.4419, allocations: 0.6296 MB / 0.5692 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.442, allocations: 0 / 0.5692 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.934e-05/0.442, allocations: 4.969 kB / 0.5692 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.347e-05/0.4421, allocations: 10.05 kB / 0.5692 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000472/0.4425, allocations: 109.2 kB / 0.5693 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.773e-05/0.4426, allocations: 27.27 kB / 0.5693 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.4427, allocations: 2.469 kB / 0.5693 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.695e-05/0.4427, allocations: 10.67 kB / 0.5693 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.426e-05/0.4428, allocations: 16.72 kB / 0.5693 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.4428, allocations: 1.875 kB / 0.5693 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.4431, allocations: 141.9 kB / 0.5695 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.4431, allocations: 6.859 kB / 0.5695 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.4432, allocations: 16.89 kB / 0.5695 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.4434, allocations: 92.75 kB / 0.5696 GB, free: 31.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4434, allocations: 1.156 kB / 0.5696 GB, free: 31.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4434, allocations: 0 / 0.5696 GB, free: 31.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.4434, allocations: 0 / 0.5696 GB, free: 31.02 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004083/0.4438, allocations: 355.6 kB / 0.5699 GB, free: 30.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.4439, allocations: 9.688 kB / 0.5699 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.4439, allocations: 43.17 kB / 0.57 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000428/0.4444, allocations: 25.52 kB / 0.57 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.678e-05/0.4445, allocations: 171 kB / 0.5702 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.4445, allocations: 2.625 kB / 0.5702 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.4445, allocations: 2.875 kB / 0.5702 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.4447, allocations: 59.08 kB / 0.5702 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4447, allocations: 6.75 kB / 0.5702 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.4447, allocations: 0 / 0.5702 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.4448, allocations: 1.562 kB / 0.5702 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.4449, allocations: 26.41 kB / 0.5703 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.4451, allocations: 167.2 kB / 0.5704 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.4454, allocations: 67.97 kB / 0.5705 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.42e-05/0.4455, allocations: 27.05 kB / 0.5705 GB, free: 30.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.4455, allocations: 1.594 kB / 0.5705 GB, free: 30.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.4456, allocations: 38.02 kB / 0.5706 GB, free: 30.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.4456, allocations: 0 / 0.5706 GB, free: 30.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.003408/0.449, allocations: 0.5662 MB / 0.5711 GB, free: 29.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.449, allocations: 58.55 kB / 0.5712 GB, free: 29.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.138e-05/0.4491, allocations: 93.47 kB / 0.5712 GB, free: 29.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.4491, allocations: 30.2 kB / 0.5713 GB, free: 29.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.604e-05/0.4491, allocations: 87.19 kB / 0.5714 GB, free: 29.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.4492, allocations: 24.17 kB / 0.5714 GB, free: 29.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/0.4492, allocations: 26.33 kB / 0.5714 GB, free: 29.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.233e-05/0.4493, allocations: 322.1 kB / 0.5717 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.4494, allocations: 35.27 kB / 0.5718 GB, free: 29.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.4496, allocations: 41.78 kB / 0.5718 GB, free: 29.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.4499, allocations: 79.97 kB / 0.5719 GB, free: 29.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.4499, allocations: 0 / 0.5719 GB, free: 29.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003633/0.4502, allocations: 130.7 kB / 0.572 GB, free: 28.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4503, allocations: 6.75 kB / 0.572 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4503, allocations: 0.7812 kB / 0.572 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.4503, allocations: 0 / 0.572 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.4505, allocations: 24.94 kB / 0.572 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.4506, allocations: 0.6094 kB / 0.572 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.4507, allocations: 11.59 kB / 0.572 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.4507, allocations: 7.438 kB / 0.572 GB, free: 28.97 MB / 446.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 (7): * Single equations (assignments): 7 * 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.015e-05/0.4508, allocations: 111.1 kB / 0.5721 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.4508, allocations: 8.297 kB / 0.5722 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.261e-05/0.4509, allocations: 11.62 kB / 0.5722 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4509, allocations: 0 / 0.5722 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4509, allocations: 8.703 kB / 0.5722 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.4509, allocations: 3.703 kB / 0.5722 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.4511, allocations: 180.9 kB / 0.5724 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4511, allocations: 0 / 0.5724 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.4513, allocations: 28.16 kB / 0.5724 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.4513, allocations: 1.031 kB / 0.5724 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.4513, allocations: 8.875 kB / 0.5724 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4513, allocations: 1.188 kB / 0.5724 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4513, allocations: 0.7812 kB / 0.5724 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005504/0.4519, allocations: 188 kB / 0.5726 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/0.4519, allocations: 86.8 kB / 0.5727 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.452, allocations: 1.531 kB / 0.5727 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.4522, allocations: 12.58 kB / 0.5727 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.4522, allocations: 3.922 kB / 0.5727 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.4522, allocations: 8.281 kB / 0.5727 GB, free: 28.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.114e-05/0.4522, allocations: 78.38 kB / 0.5728 GB, free: 28.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4522, allocations: 2.062 kB / 0.5728 GB, free: 28.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.4525, allocations: 31.89 kB / 0.5728 GB, free: 28.33 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0007932/0.4533, allocations: 0.7488 MB / 0.5735 GB, free: 27.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003587/0.4537, allocations: 99.92 kB / 0.5736 GB, free: 27.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4537, allocations: 3.938 kB / 0.5736 GB, free: 27.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.4539, allocations: 42.48 kB / 0.5737 GB, free: 27.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.4541, allocations: 20.8 kB / 0.5737 GB, free: 27.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.4558, allocations: 1.347 MB / 0.575 GB, free: 26.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.4559, allocations: 0.6818 MB / 0.5757 GB, free: 25.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002216/0.4562, allocations: 25.16 kB / 0.5757 GB, free: 25.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.317e-05/0.4562, allocations: 17.16 kB / 0.5757 GB, free: 25.76 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4562, allocations: 3.469 kB / 0.5757 GB, free: 25.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.4751, allocations: 2.447 MB / 0.5781 GB, free: 25.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.733/8.208, allocations: 13.22 kB / 0.5781 GB, free: 25.39 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)