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/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: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 110.5 kB / 16.41 MB, free: 6.5 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.001847/0.001847, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.563/1.563, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002498/0.002498, allocations: 290.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9921/0.9921, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002767/0.002767, allocations: 100.2 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4569/0.4596, allocations: 86.97 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002371/0.462, allocations: 1.256 MB / 0.7683 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005044/0.4625, allocations: 235.2 kB / 0.7685 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.629e-05/0.4625, allocations: 0 / 0.7685 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.962e-05/0.4625, allocations: 3.984 kB / 0.7685 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.824e-05/0.4626, allocations: 0 / 0.7685 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.4628, allocations: 51.75 kB / 0.7686 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.342e-05/0.4629, allocations: 15.98 kB / 0.7686 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.4629, allocations: 0 / 0.7686 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.078e-05/0.463, allocations: 12 kB / 0.7686 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.117e-05/0.463, allocations: 11.92 kB / 0.7686 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.808e-06/0.463, allocations: 0 / 0.7686 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.4631, allocations: 47.95 kB / 0.7687 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.4632, allocations: 7.922 kB / 0.7687 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.4632, allocations: 7.938 kB / 0.7687 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.4633, allocations: 39.61 kB / 0.7687 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4633, allocations: 3.984 kB / 0.7687 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4633, allocations: 8 kB / 0.7687 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.4633, allocations: 0 / 0.7687 GB, free: 2.207 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004171/0.4637, allocations: 333.4 kB / 0.769 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.4638, allocations: 11.97 kB / 0.7691 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.4639, allocations: 16.88 kB / 0.7691 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.464, allocations: 160.4 kB / 0.7692 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.464, allocations: 384 / 0.7692 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.464, allocations: 4.375 kB / 0.7692 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.4641, allocations: 50.25 kB / 0.7693 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.4642, allocations: 4.188 kB / 0.7693 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.4642, allocations: 3.938 kB / 0.7693 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.4642, allocations: 0 / 0.7693 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.511e-05/0.4642, allocations: 19.92 kB / 0.7693 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.4644, allocations: 157.7 kB / 0.7695 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.122e-05/0.4645, allocations: 38.58 kB / 0.7695 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.139e-05/0.4645, allocations: 28.97 kB / 0.7695 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.4645, allocations: 0 / 0.7695 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.4646, allocations: 34.56 kB / 0.7696 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.4646, allocations: 0 / 0.7696 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.002111/0.4667, allocations: 0.4942 MB / 0.77 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.4667, allocations: 51.41 kB / 0.7701 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.785e-05/0.4668, allocations: 89.86 kB / 0.7702 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.4668, allocations: 25.7 kB / 0.7702 GB, free: 476 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.4668, allocations: 84.08 kB / 0.7703 GB, free: 388 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.4669, allocations: 31.73 kB / 0.7703 GB, free: 356 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/0.4669, allocations: 21.72 kB / 0.7703 GB, free: 328 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.4671, allocations: 318.8 kB / 0.7706 GB, free: 0 / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.679e-05/0.4671, allocations: 23.98 kB / 0.7707 GB, free: 15.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.019e-05/0.4672, allocations: 23.98 kB / 0.7707 GB, free: 15.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.4673, allocations: 60.97 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.4673, allocations: 0 / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001609/0.4674, allocations: 97.58 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.4675, allocations: 7.938 kB / 0.7708 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.4675, allocations: 0 / 0.7708 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4675, allocations: 8 kB / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.4676, allocations: 15.98 kB / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.4676, allocations: 0 / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.606e-05/0.4677, allocations: 3.938 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.4677, allocations: 0 / 0.7709 GB, free: 15.75 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 (9): * Single equations (assignments): 9 * 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.456e-05/0.4678, allocations: 116.2 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.4678, allocations: 3.938 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.961e-05/0.4679, allocations: 19.97 kB / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.4679, allocations: 0 / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.4679, allocations: 4 kB / 0.771 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.4679, allocations: 3.984 kB / 0.771 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.468, allocations: 175.2 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.468, allocations: 0 / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.4682, allocations: 16.42 kB / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.331e-06/0.4682, allocations: 7.938 kB / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.4682, allocations: 4 kB / 0.7712 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.4682, allocations: 4 kB / 0.7712 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4682, allocations: 0 / 0.7712 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.4684, allocations: 153 kB / 0.7713 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.4685, allocations: 85.08 kB / 0.7714 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.4685, allocations: 0 / 0.7714 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.4686, allocations: 7.984 kB / 0.7714 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.4686, allocations: 0 / 0.7714 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.4686, allocations: 8 kB / 0.7714 GB, free: 15.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.002e-05/0.4687, allocations: 75.38 kB / 0.7715 GB, free: 14.99 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4687, allocations: 3.938 kB / 0.7715 GB, free: 14.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000191/0.4689, allocations: 12.06 kB / 0.7715 GB, free: 14.97 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 (8): * Single equations (assignments): 8 * 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.0001187/0.469, allocations: 111.2 kB / 0.7716 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.4691, allocations: 55.92 kB / 0.7717 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4691, allocations: 0 / 0.7717 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.012e-05/0.4692, allocations: 27.98 kB / 0.7717 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.4694, allocations: 11.94 kB / 0.7717 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004975/0.4699, allocations: 162.9 kB / 0.7719 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.4702, allocations: 0.6873 MB / 0.7726 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.983e-05/0.4703, allocations: 11.94 kB / 0.7726 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.4703, allocations: 11.44 kB / 0.7726 GB, free: 13.84 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.4703, allocations: 0 / 0.7726 GB, free: 13.84 MB / 0.545 GB Notification: Performance of Templates: time 0.003033/0.4733, allocations: 0.7124 MB / 0.7733 GB, free: 13.18 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)