Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8118/0.8118, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 177.5 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.3 MB / 441.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009838/0.0009837, allocations: 99.36 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001883/0.001883, allocations: 263.9 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.196e-05/4.2e-05, allocations: 4 kB / 0.6836 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4673/0.4673, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.5984, allocations: 109.9 MB / 0.8717 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.5988, allocations: 89.5 kB / 0.8717 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.008797/0.6076, allocations: 2.886 MB / 0.8746 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6076, allocations: 0 / 0.8746 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.6076, allocations: 4 kB / 0.8746 GB, free: 11.71 MB / 0.5417 GB 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.0003594/0.608, allocations: 350.4 kB / 0.8749 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.421e-05/0.6081, allocations: 16.02 kB / 0.8749 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.608e-05/0.6081, allocations: 34.56 kB / 0.875 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003522/0.6085, allocations: 23.97 kB / 0.875 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.6086, allocations: 163 kB / 0.8751 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.6086, allocations: 0 / 0.8751 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.6087, allocations: 8 kB / 0.8751 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.6088, allocations: 50.22 kB / 0.8752 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.6088, allocations: 0 / 0.8752 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.6089, allocations: 7.984 kB / 0.8752 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.6089, allocations: 4 kB / 0.8752 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.137e-05/0.6089, allocations: 19.92 kB / 0.8752 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/0.6091, allocations: 173.4 kB / 0.8754 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.6094, allocations: 58.61 kB / 0.8754 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.6094, allocations: 20.94 kB / 0.8755 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.6094, allocations: 3.938 kB / 0.8755 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.6095, allocations: 38.56 kB / 0.8755 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.6095, allocations: 0 / 0.8755 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.002856/0.6124, allocations: 0.5126 MB / 0.876 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.6124, allocations: 63.33 kB / 0.8761 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.488e-05/0.6125, allocations: 89 kB / 0.8761 GB, free: 9.859 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.6126, allocations: 25.7 kB / 0.8762 GB, free: 9.828 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.6126, allocations: 80.14 kB / 0.8762 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.6126, allocations: 19.75 kB / 0.8763 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/0.6127, allocations: 0 / 0.8763 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.6128, allocations: 323 kB / 0.8766 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.073e-05/0.6129, allocations: 24 kB / 0.8766 GB, free: 9.379 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.913e-05/0.6129, allocations: 27.98 kB / 0.8766 GB, free: 9.352 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.94e-05/0.613, allocations: 35.97 kB / 0.8767 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.613, allocations: 7.938 kB / 0.8767 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002083/0.6132, allocations: 101.6 kB / 0.8768 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.6133, allocations: 4 kB / 0.8768 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.6133, allocations: 0 / 0.8768 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.6133, allocations: 3.984 kB / 0.8768 GB, free: 9.195 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.6135, allocations: 31.91 kB / 0.8768 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.6135, allocations: 0 / 0.8768 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.6137, allocations: 4 kB / 0.8768 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.6137, allocations: 7.984 kB / 0.8768 GB, free: 9.152 MB / 0.5417 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 (7): * Single equations (assignments): 7 * 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 8.508e-05/0.6138, allocations: 105 kB / 0.8769 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.6138, allocations: 7.953 kB / 0.8769 GB, free: 9.035 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.655e-05/0.6139, allocations: 16.03 kB / 0.8769 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.6139, allocations: 0 / 0.8769 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.6139, allocations: 0 / 0.8769 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.6139, allocations: 7.984 kB / 0.8769 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.6141, allocations: 192.8 kB / 0.8771 GB, free: 8.777 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6141, allocations: 0 / 0.8771 GB, free: 8.777 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.6143, allocations: 27.97 kB / 0.8772 GB, free: 8.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.6143, allocations: 0 / 0.8772 GB, free: 8.75 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.6143, allocations: 7.984 kB / 0.8772 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.6144, allocations: 0 / 0.8772 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.6144, allocations: 0 / 0.8772 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.6147, allocations: 172.9 kB / 0.8773 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.6147, allocations: 81.06 kB / 0.8774 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.6148, allocations: 0 / 0.8774 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.6149, allocations: 20.08 kB / 0.8774 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.615, allocations: 192 / 0.8774 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.615, allocations: 8.109 kB / 0.8774 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.766e-05/0.615, allocations: 79.28 kB / 0.8775 GB, free: 8.352 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.615, allocations: 0 / 0.8775 GB, free: 8.352 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002485/0.6153, allocations: 36 kB / 0.8775 GB, free: 8.316 MB / 0.5417 GB 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 () * 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 (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.000694/0.616, allocations: 0.7452 MB / 0.8783 GB, free: 7.539 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001822/0.6162, allocations: 71.97 kB / 0.8783 GB, free: 7.469 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.6162, allocations: 0 / 0.8783 GB, free: 7.469 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.166e-05/0.6163, allocations: 39.91 kB / 0.8784 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.6164, allocations: 10.58 kB / 0.8784 GB, free: 7.422 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006162/0.6171, allocations: 152.5 kB / 0.8785 GB, free: 7.238 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.6173, allocations: 0.6848 MB / 0.8792 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002562/0.6176, allocations: 35.92 kB / 0.8792 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.334e-05/0.6177, allocations: 19.42 kB / 0.8792 GB, free: 6.473 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.6177, allocations: 3.938 kB / 0.8793 GB, free: 6.469 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.6339, allocations: 2.271 MB / 0.8815 GB, free: 4.426 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.6342, allocations: 215 kB / 0.8817 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/2.309, allocations: 0 / 0.8817 GB, free: 4.203 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)