Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.031/2.031, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 193.4 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009553/0.0009554, allocations: 105.6 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009692/0.0009693, allocations: 54 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2318, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002127/0.2339, allocations: 1.319 MB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0004389/0.2344, allocations: 231.3 kB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.244e-05/0.2344, allocations: 0 / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.2344, allocations: 0 / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.995e-05/0.2345, allocations: 7.938 kB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.2347, allocations: 35.89 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 5.453e-05/0.2348, allocations: 23.86 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.2348, allocations: 4 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 2.057e-05/0.2349, allocations: 8 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.359e-05/0.2349, allocations: 15.91 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.235, allocations: 0 / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-05/0.2351, allocations: 43.95 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.2351, allocations: 4 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.2351, allocations: 7.938 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.2352, allocations: 39.94 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2352, allocations: 4 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.91e-07/0.2352, allocations: 4 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.307e-06/0.2352, allocations: 0 / 1.22 GB, free: 115.5 MB / 0.823 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.0003149/0.2356, allocations: 329.7 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.2356, allocations: 11.98 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.2357, allocations: 16.92 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.003e-05/0.2358, allocations: 164.3 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.2358, allocations: 384 / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.2358, allocations: 12.31 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.701e-05/0.2359, allocations: 46.19 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.2359, allocations: 192 / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.236, allocations: 7.938 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.236, allocations: 0 / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.084e-05/0.236, allocations: 15.98 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.2361, allocations: 161.6 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.186e-05/0.2362, allocations: 42.62 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.2363, allocations: 24.98 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.2363, allocations: 0 / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.2363, allocations: 34.5 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.2363, allocations: 0 / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.001755/0.2381, allocations: 0.4903 MB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.887e-05/0.2381, allocations: 51.41 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.593e-05/0.2381, allocations: 89.86 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.2381, allocations: 29.7 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.644e-05/0.2381, allocations: 80.14 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.2382, allocations: 35.53 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.2382, allocations: 21.72 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.161e-05/0.2383, allocations: 314.8 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.931e-05/0.2383, allocations: 23.98 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.2384, allocations: 28.36 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.257e-05/0.2385, allocations: 60.8 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.2385, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001176/0.2386, allocations: 89.62 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2386, allocations: 11.94 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2386, allocations: 7.984 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.2386, allocations: 4 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.2388, allocations: 15.98 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.2388, allocations: 0 / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.937e-05/0.2389, allocations: 0 / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.2389, allocations: 4 kB / 1.222 GB, free: 113 MB / 0.823 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 5.355e-05/0.2389, allocations: 109.8 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.2389, allocations: 7.938 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.126e-05/0.239, allocations: 15.97 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.239, allocations: 7.938 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.239, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.239, allocations: 7.984 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.601e-05/0.2391, allocations: 163.5 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2391, allocations: 0 / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.2392, allocations: 19.92 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2393, allocations: 3.938 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.2393, allocations: 4 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2393, allocations: 0 / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2393, allocations: 4 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/0.2418, allocations: 1.29 MB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.2418, allocations: 81.05 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.2418, allocations: 7.984 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/0.242, allocations: 8.094 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.242, allocations: 4 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.242, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.597e-05/0.242, allocations: 79.38 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.242, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002463/0.2423, allocations: 19.94 kB / 1.224 GB, free: 111 MB / 0.823 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.0001203/0.2424, allocations: 110 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001467/0.2425, allocations: 59.92 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2426, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.485e-05/0.2426, allocations: 31.98 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.2429, allocations: 8.656 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005628/0.2435, allocations: 323 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.2437, allocations: 0.6809 MB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.414e-05/0.2438, allocations: 11.98 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.2438, allocations: 11.44 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of SimCode: time 2e-07/0.2438, allocations: 0 / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of Templates: time 0.002755/0.2466, allocations: 0.6989 MB / 1.226 GB, free: 109 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)