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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004917/0.004917, allocations: 101 kB / 15.73 MB, free: 6.055 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.001304/0.001304, allocations: 192.7 kB / 16.67 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002477/0.002477, allocations: 283.2 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002833/0.002834, allocations: 95.84 kB / 0.681 GB, free: 7.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4295, allocations: 86.97 MB / 0.7659 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002322/0.4319, allocations: 1.288 MB / 0.7672 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.433, allocations: 0.6412 MB / 0.7678 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.338e-05/0.433, allocations: 0 / 0.7678 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.66e-05/0.433, allocations: 3.938 kB / 0.7678 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.275e-05/0.4331, allocations: 7.984 kB / 0.7678 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.4335, allocations: 107.5 kB / 0.7679 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.238e-05/0.4336, allocations: 23.92 kB / 0.7679 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.4336, allocations: 4 kB / 0.7679 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.506e-05/0.4337, allocations: 11.92 kB / 0.768 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.626e-05/0.4337, allocations: 15.98 kB / 0.768 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.4337, allocations: 0 / 0.768 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002834/0.434, allocations: 147.7 kB / 0.7681 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.4341, allocations: 7.984 kB / 0.7681 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.4341, allocations: 11.92 kB / 0.7681 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.4343, allocations: 91.02 kB / 0.7682 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4343, allocations: 0 / 0.7682 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4343, allocations: 0 / 0.7682 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.4343, allocations: 0 / 0.7682 GB, free: 1.492 MB / 0.5294 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.0004772/0.4348, allocations: 369 kB / 0.7686 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.4348, allocations: 8.031 kB / 0.7686 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.131e-05/0.4349, allocations: 34.75 kB / 0.7686 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003744/0.4353, allocations: 28.91 kB / 0.7686 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.4354, allocations: 168.3 kB / 0.7688 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.4354, allocations: 384 / 0.7688 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.4354, allocations: 4.375 kB / 0.7688 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.4356, allocations: 58.2 kB / 0.7689 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.4356, allocations: 7.938 kB / 0.7689 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.4356, allocations: 4 kB / 0.7689 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.4357, allocations: 0 / 0.7689 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.4358, allocations: 23.97 kB / 0.7689 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.436, allocations: 169.6 kB / 0.7691 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.4363, allocations: 70.52 kB / 0.7691 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.468e-05/0.4364, allocations: 24.94 kB / 0.7691 GB, free: 388 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.4364, allocations: 7.875 kB / 0.7692 GB, free: 380 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.4365, allocations: 42.55 kB / 0.7692 GB, free: 328 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.4365, allocations: 0 / 0.7692 GB, free: 328 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.003232/0.4397, allocations: 0.5604 MB / 0.7697 GB, free: 15.71 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.4398, allocations: 51.41 kB / 0.7698 GB, free: 15.64 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.246e-05/0.4398, allocations: 93.95 kB / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.4399, allocations: 33.73 kB / 0.7699 GB, free: 15.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.4399, allocations: 84.12 kB / 0.77 GB, free: 15.42 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.44, allocations: 23.8 kB / 0.77 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.605e-05/0.44, allocations: 29.69 kB / 0.77 GB, free: 15.36 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.4402, allocations: 314.8 kB / 0.7703 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.4403, allocations: 35.97 kB / 0.7704 GB, free: 15.01 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.4405, allocations: 44.02 kB / 0.7704 GB, free: 14.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.4408, allocations: 88.95 kB / 0.7705 GB, free: 14.88 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4408, allocations: 0 / 0.7705 GB, free: 14.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003627/0.4411, allocations: 125.6 kB / 0.7706 GB, free: 14.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.4412, allocations: 4 kB / 0.7706 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4412, allocations: 0 / 0.7706 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.4412, allocations: 0 / 0.7706 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.4414, allocations: 27.91 kB / 0.7707 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.4414, allocations: 0 / 0.7707 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.4416, allocations: 11.98 kB / 0.7707 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.4416, allocations: 4 kB / 0.7707 GB, free: 14.7 MB / 0.545 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 (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 9.37e-05/0.4417, allocations: 109.8 kB / 0.7708 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.4417, allocations: 15.88 kB / 0.7708 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.535e-05/0.4418, allocations: 11.97 kB / 0.7708 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4418, allocations: 3.938 kB / 0.7708 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.4418, allocations: 4 kB / 0.7708 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4418, allocations: 0 / 0.7708 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.442, allocations: 179.5 kB / 0.771 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.442, allocations: 0 / 0.771 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.4423, allocations: 27.91 kB / 0.771 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4423, allocations: 0 / 0.771 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.4423, allocations: 11.98 kB / 0.771 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4423, allocations: 3.938 kB / 0.771 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4423, allocations: 4 kB / 0.771 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000562/0.4429, allocations: 185.3 kB / 0.7712 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.4429, allocations: 85.11 kB / 0.7713 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.443, allocations: 4.031 kB / 0.7713 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.4431, allocations: 7.984 kB / 0.7713 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.4432, allocations: 11.97 kB / 0.7713 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.4432, allocations: 4 kB / 0.7713 GB, free: 13.94 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.4432, allocations: 79.28 kB / 0.7714 GB, free: 13.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4432, allocations: 0 / 0.7714 GB, free: 13.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002453/0.4435, allocations: 39.95 kB / 0.7714 GB, free: 13.82 MB / 0.545 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 () * 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.0009293/0.4444, allocations: 0.7607 MB / 0.7722 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003621/0.4448, allocations: 83.92 kB / 0.7722 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4448, allocations: 0 / 0.7722 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.445, allocations: 51.95 kB / 0.7723 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.4452, allocations: 10.03 kB / 0.7723 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.4473, allocations: 1.348 MB / 0.7736 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.4476, allocations: 0.6807 MB / 0.7743 GB, free: 10.76 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001604/0.4478, allocations: 31.94 kB / 0.7743 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.595e-05/0.4479, allocations: 19.41 kB / 0.7743 GB, free: 10.71 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.4479, allocations: 0 / 0.7743 GB, free: 10.71 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.4713, allocations: 2.507 MB / 0.7768 GB, free: 8.418 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.012/8.483, allocations: 16.25 kB / 0.7768 GB, free: 8.406 MB / 0.545 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)