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.001124/0.001124, allocations: 105.9 kB / 16.41 MB, free: 6.445 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.001153/0.001153, allocations: 185.5 kB / 17.34 MB, free: 5.719 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.27/1.27, 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.002074/0.002074, allocations: 290.9 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.9461/0.9461, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 91.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5023/0.5043, allocations: 86.98 MB / 0.7671 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002387/0.5067, allocations: 1.261 MB / 0.7683 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005089/0.5073, allocations: 235.2 kB / 0.7685 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.156e-05/0.5073, allocations: 0 / 0.7685 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.5074, allocations: 7.938 kB / 0.7685 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.755e-05/0.5074, allocations: 3.984 kB / 0.7685 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.5077, allocations: 39.83 kB / 0.7686 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.611e-05/0.5078, allocations: 23.92 kB / 0.7686 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.5079, allocations: 0 / 0.7686 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.85e-05/0.5079, allocations: 11.98 kB / 0.7686 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.186e-05/0.508, allocations: 7.938 kB / 0.7686 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.508, allocations: 3.984 kB / 0.7686 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.5081, allocations: 47.95 kB / 0.7687 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.5082, allocations: 8 kB / 0.7687 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.5082, allocations: 7.984 kB / 0.7687 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.5083, allocations: 39.41 kB / 0.7687 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.5083, allocations: 0 / 0.7687 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5084, allocations: 0 / 0.7687 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.5084, allocations: 0 / 0.7687 GB, free: 2.254 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.0003897/0.5088, allocations: 331.6 kB / 0.769 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.5088, allocations: 12.03 kB / 0.769 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.509, allocations: 12.92 kB / 0.7691 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.593e-05/0.5091, allocations: 168.4 kB / 0.7692 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.5091, allocations: 384 / 0.7692 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.5091, allocations: 4.312 kB / 0.7692 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.5092, allocations: 50.23 kB / 0.7693 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.5093, allocations: 192 / 0.7693 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.5093, allocations: 7.938 kB / 0.7693 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5093, allocations: 0 / 0.7693 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.295e-05/0.5093, allocations: 8 kB / 0.7693 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.5095, allocations: 172.2 kB / 0.7694 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.491e-05/0.5096, allocations: 46.56 kB / 0.7695 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.848e-05/0.5096, allocations: 20.92 kB / 0.7695 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.5097, allocations: 4 kB / 0.7695 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.5097, allocations: 38.55 kB / 0.7696 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 8.71e-07/0.5097, allocations: 0 / 0.7696 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.002094/0.5118, allocations: 0.498 MB / 0.77 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.5119, allocations: 51.41 kB / 0.7701 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.564e-05/0.5119, allocations: 93.86 kB / 0.7702 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.5119, allocations: 25.7 kB / 0.7702 GB, free: 500 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.811e-05/0.512, allocations: 80.14 kB / 0.7703 GB, free: 416 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.512, allocations: 35.53 kB / 0.7703 GB, free: 380 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.5121, allocations: 21.72 kB / 0.7703 GB, free: 352 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.5122, allocations: 318.8 kB / 0.7706 GB, free: 24 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.459e-05/0.5122, allocations: 20 kB / 0.7707 GB, free: 4 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.696e-05/0.5123, allocations: 27.97 kB / 0.7707 GB, free: 15.97 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.5124, allocations: 56.86 kB / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5124, allocations: 0 / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000176/0.5126, allocations: 93.58 kB / 0.7708 GB, free: 15.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.5126, allocations: 7.938 kB / 0.7708 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.5126, allocations: 4.266 kB / 0.7708 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.5126, allocations: 4 kB / 0.7708 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.5128, allocations: 12 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.5128, allocations: 3.938 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.5129, allocations: 0 / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.5129, allocations: 4 kB / 0.7709 GB, free: 15.79 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 8.019e-05/0.513, allocations: 113.8 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.513, allocations: 7.938 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.966e-05/0.513, allocations: 19.89 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.5131, allocations: 0 / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5131, allocations: 0 / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5131, allocations: 0 / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.5132, allocations: 175.3 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5132, allocations: 4 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.5134, allocations: 12 kB / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.5134, allocations: 7.875 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.5134, allocations: 4 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5134, allocations: 0 / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5134, allocations: 0 / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.5136, allocations: 152.9 kB / 0.7713 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.026e-05/0.5137, allocations: 89.06 kB / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.5137, allocations: 0 / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.5138, allocations: 4.438 kB / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.5139, allocations: 12.05 kB / 0.7714 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.5139, allocations: 0 / 0.7714 GB, free: 15.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.831e-05/0.5139, allocations: 75.28 kB / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5139, allocations: 0 / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001923/0.5141, allocations: 16 kB / 0.7715 GB, free: 15.01 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.0001155/0.5142, allocations: 103.2 kB / 0.7716 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.5144, allocations: 59.92 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5144, allocations: 0 / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.916e-05/0.5144, allocations: 35.98 kB / 0.7717 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.5147, allocations: 8 kB / 0.7717 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006191/0.5153, allocations: 200.5 kB / 0.7719 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.5156, allocations: 0.6768 MB / 0.7726 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.5156, allocations: 11.44 kB / 0.7726 GB, free: 13.85 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.5156, allocations: 3.938 kB / 0.7726 GB, free: 13.85 MB / 0.545 GB Notification: Performance of Templates: time 0.002254/0.5179, allocations: 0.9039 MB / 0.7735 GB, free: 12.96 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)