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.001324/0.001325, allocations: 111.7 kB / 16.41 MB, free: 6.027 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.001306/0.001306, allocations: 182.8 kB / 17.34 MB, free: 5.625 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002122/0.002122, allocations: 282.2 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8973/0.8973, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 95.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.458/0.4598, allocations: 86.98 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002311/0.4621, allocations: 1.253 MB / 0.7683 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004994/0.4626, allocations: 243.2 kB / 0.7685 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.842e-05/0.4627, allocations: 0 / 0.7685 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.23e-05/0.4627, allocations: 3.938 kB / 0.7685 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.332e-05/0.4628, allocations: 0 / 0.7685 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.463, allocations: 39.83 kB / 0.7686 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.165e-05/0.4631, allocations: 19.92 kB / 0.7686 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.4632, allocations: 4 kB / 0.7686 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.201e-05/0.4632, allocations: 7.984 kB / 0.7686 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.317e-05/0.4633, allocations: 15.92 kB / 0.7686 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.4633, allocations: 4 kB / 0.7686 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.4634, allocations: 43.95 kB / 0.7687 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.4634, allocations: 0 / 0.7687 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.4634, allocations: 8 kB / 0.7687 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.4636, allocations: 43.39 kB / 0.7687 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.4636, allocations: 4 kB / 0.7687 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4636, allocations: 0 / 0.7687 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.4636, allocations: 0 / 0.7687 GB, free: 2.234 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.0003979/0.464, allocations: 335.6 kB / 0.769 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.464, allocations: 8.031 kB / 0.769 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.4642, allocations: 12.92 kB / 0.7691 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.4643, allocations: 160.4 kB / 0.7692 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.4643, allocations: 4.375 kB / 0.7692 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.4643, allocations: 8.312 kB / 0.7692 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.4645, allocations: 42.25 kB / 0.7693 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.4645, allocations: 192 / 0.7693 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.4645, allocations: 7.938 kB / 0.7693 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.4645, allocations: 7.938 kB / 0.7693 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.985e-05/0.4646, allocations: 19.97 kB / 0.7693 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.4647, allocations: 168.2 kB / 0.7695 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.288e-05/0.4648, allocations: 46.56 kB / 0.7695 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.651e-05/0.4649, allocations: 20.92 kB / 0.7695 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.597e-06/0.4649, allocations: 0 / 0.7695 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.4649, allocations: 38.56 kB / 0.7696 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.4649, allocations: 0 / 0.7696 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001964/0.4669, allocations: 0.4902 MB / 0.77 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.4669, allocations: 55.41 kB / 0.7701 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.794e-05/0.467, allocations: 97.86 kB / 0.7702 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.467, allocations: 25.7 kB / 0.7702 GB, free: 476 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.972e-05/0.467, allocations: 80.14 kB / 0.7703 GB, free: 392 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.4671, allocations: 31.55 kB / 0.7703 GB, free: 360 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.4671, allocations: 17.72 kB / 0.7703 GB, free: 336 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.647e-05/0.4672, allocations: 314.8 kB / 0.7706 GB, free: 12 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.069e-05/0.4673, allocations: 24.06 kB / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.952e-05/0.4673, allocations: 31.92 kB / 0.7707 GB, free: 15.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.867e-05/0.4674, allocations: 56.86 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4674, allocations: 0 / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000139/0.4676, allocations: 93.81 kB / 0.7708 GB, free: 15.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4676, allocations: 7.938 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4676, allocations: 96 / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.4676, allocations: 3.938 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.4678, allocations: 15.98 kB / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.4678, allocations: 0 / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.474e-05/0.4679, allocations: 4 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.4679, allocations: 4 kB / 0.7709 GB, free: 15.76 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 7.857e-05/0.468, allocations: 116.2 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.468, allocations: 3.938 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.287e-05/0.468, allocations: 15.91 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4681, allocations: 0 / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4681, allocations: 4 kB / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4681, allocations: 0 / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.4682, allocations: 179.2 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4682, allocations: 0 / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.4684, allocations: 20.42 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.4684, allocations: 7.875 kB / 0.7712 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.4684, allocations: 0 / 0.7712 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.4684, allocations: 8 kB / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4684, allocations: 0 / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.4687, allocations: 145 kB / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.4687, allocations: 81.05 kB / 0.7714 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.4687, allocations: 4 kB / 0.7714 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.4688, allocations: 12.08 kB / 0.7714 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.4689, allocations: 4 kB / 0.7714 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.4689, allocations: 4 kB / 0.7714 GB, free: 15.08 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.413e-05/0.4689, allocations: 75.28 kB / 0.7715 GB, free: 15 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4689, allocations: 0 / 0.7715 GB, free: 15 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001891/0.4691, allocations: 12 kB / 0.7715 GB, free: 14.99 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.0001165/0.4692, allocations: 103.2 kB / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001474/0.4694, allocations: 67.92 kB / 0.7717 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4694, allocations: 0 / 0.7717 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.201e-05/0.4695, allocations: 31.98 kB / 0.7717 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.4697, allocations: 4 kB / 0.7717 GB, free: 14.78 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005135/0.4702, allocations: 203.3 kB / 0.7719 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.4704, allocations: 0.6807 MB / 0.7726 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.4705, allocations: 11.44 kB / 0.7726 GB, free: 13.83 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4705, allocations: 4.125 kB / 0.7726 GB, free: 13.83 MB / 0.545 GB Notification: Performance of Templates: time 0.002193/0.4727, allocations: 0.8993 MB / 0.7735 GB, free: 12.94 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)