Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.9477/0.9477, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 184.6 kB / 182.2 MB, free: 9.453 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.587/1.587, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.00113/0.00113, allocations: 95.91 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001849/0.001849, allocations: 275.8 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.092e-05/3.066e-05, allocations: 8 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.546/0.546, allocations: 82.76 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1698/0.7159, allocations: 108.2 MB / 0.8631 GB, free: 3.59 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/0.7163, allocations: 83.94 kB / 0.8632 GB, free: 3.508 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005315/0.7216, allocations: 1.86 MB / 0.865 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7216, allocations: 0 / 0.865 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.7217, allocations: 4 kB / 0.865 GB, free: 1.645 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003699/0.722, allocations: 338.4 kB / 0.8654 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/0.7221, allocations: 12.03 kB / 0.8654 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.7223, allocations: 7.984 kB / 0.8654 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.7224, allocations: 163 kB / 0.8655 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.7224, allocations: 7.953 kB / 0.8655 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.7225, allocations: 0 / 0.8655 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.908e-05/0.7226, allocations: 12 kB / 0.8655 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.7227, allocations: 45.69 kB / 0.8656 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.7227, allocations: 0 / 0.8656 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.7227, allocations: 0 / 0.8656 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.7227, allocations: 3.938 kB / 0.8656 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.7229, allocations: 134.2 kB / 0.8657 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.999e-05/0.723, allocations: 38.64 kB / 0.8658 GB, free: 0.7617 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.884e-05/0.7231, allocations: 20.92 kB / 0.8658 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.7231, allocations: 11.94 kB / 0.8658 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.7231, allocations: 34.56 kB / 0.8658 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.7231, allocations: 0 / 0.8658 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.001943/0.7251, allocations: 474 kB / 0.8663 GB, free: 172 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.7251, allocations: 51.41 kB / 0.8663 GB, free: 108 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.428e-05/0.7252, allocations: 85 kB / 0.8664 GB, free: 16 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.7252, allocations: 25.7 kB / 0.8664 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.7253, allocations: 80.14 kB / 0.8665 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.7253, allocations: 27.64 kB / 0.8665 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/0.7253, allocations: 0 / 0.8665 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.7255, allocations: 318.8 kB / 0.8668 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.212e-05/0.7255, allocations: 20 kB / 0.8669 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.7255, allocations: 20 kB / 0.8669 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.907e-05/0.7256, allocations: 23.98 kB / 0.8669 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.7256, allocations: 0 / 0.8669 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001295/0.7257, allocations: 89.66 kB / 0.867 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.7258, allocations: 7.953 kB / 0.867 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.7258, allocations: 0 / 0.867 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.7258, allocations: 4 kB / 0.867 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.7259, allocations: 15.94 kB / 0.867 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.726, allocations: 7.984 kB / 0.867 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.933e-05/0.726, allocations: 0 / 0.867 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.726, allocations: 0 / 0.867 GB, free: 15.36 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 (9): * Single equations (assignments): 9 * 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 9.43e-05/0.7261, allocations: 109 kB / 0.8671 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001186/0.7263, allocations: 71.95 kB / 0.8672 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.7263, allocations: 11.94 kB / 0.8672 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.877e-05/0.7263, allocations: 16.41 kB / 0.8672 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.7264, allocations: 0 / 0.8672 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.7264, allocations: 0 / 0.8672 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.7264, allocations: 4 kB / 0.8672 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.7265, allocations: 160.3 kB / 0.8674 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.7265, allocations: 4 kB / 0.8674 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.7267, allocations: 15.94 kB / 0.8674 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.7267, allocations: 3.953 kB / 0.8674 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.7267, allocations: 7.984 kB / 0.8674 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.7267, allocations: 0 / 0.8674 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7267, allocations: 0 / 0.8674 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.727, allocations: 133 kB / 0.8675 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.727, allocations: 77.11 kB / 0.8676 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.727, allocations: 3.953 kB / 0.8676 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.695e-05/0.7271, allocations: 8.016 kB / 0.8676 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.7272, allocations: 4 kB / 0.8676 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.7272, allocations: 4 kB / 0.8676 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.957e-05/0.7272, allocations: 75.28 kB / 0.8677 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7272, allocations: 0 / 0.8677 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001798/0.7274, allocations: 12 kB / 0.8677 GB, free: 14.57 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 (8): * Single equations (assignments): 8 * 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.0005374/0.728, allocations: 0.6788 MB / 0.8684 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001366/0.7281, allocations: 55.94 kB / 0.8684 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.7281, allocations: 4 kB / 0.8684 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.4e-05/0.7282, allocations: 28.27 kB / 0.8685 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.7284, allocations: 20.36 kB / 0.8685 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005928/0.729, allocations: 139.6 kB / 0.8686 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.7293, allocations: 0.6896 MB / 0.8693 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.466e-05/0.7294, allocations: 4.188 kB / 0.8693 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.569e-05/0.7294, allocations: 16.38 kB / 0.8693 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.7294, allocations: 3.938 kB / 0.8693 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.7511, allocations: 1.091 MB / 0.8704 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003043/0.7515, allocations: 209.1 kB / 0.8706 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.452, allocations: 1.562 kB / 0.8706 GB, free: 11.51 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)