Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.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.001099/0.001099, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.766/2.766, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 68.2 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3217, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002904/0.3247, allocations: 1.245 MB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005101/0.3252, allocations: 233.5 kB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.3252, allocations: 7.938 kB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.3253, allocations: 4 kB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.651e-05/0.3253, allocations: 3.984 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.3256, allocations: 43.77 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.108e-05/0.3257, allocations: 19.92 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.535e-05/0.3257, allocations: 0 / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.384e-05/0.3258, allocations: 12 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.721e-05/0.3258, allocations: 7.984 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.3259, allocations: 0 / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.326, allocations: 43.95 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.326, allocations: 15.92 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.3261, allocations: 4 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.3262, allocations: 39.89 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.3262, allocations: 3.984 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3262, allocations: 4 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.3262, allocations: 0 / 1.07 GB, free: 8.707 MB / 0.8262 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.0004334/0.3267, allocations: 335.8 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3267, allocations: 8.031 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.3269, allocations: 16.92 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.327, allocations: 164.3 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.327, allocations: 384 / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.3271, allocations: 4.375 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.3272, allocations: 50.25 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.954e-06/0.3272, allocations: 192 / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.3272, allocations: 3.938 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.3272, allocations: 0 / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.559e-05/0.3273, allocations: 15.98 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.3275, allocations: 161.7 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.3277, allocations: 38.58 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.842e-05/0.3277, allocations: 28.97 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.3277, allocations: 0 / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.3278, allocations: 30.56 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.3278, allocations: 0 / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.002162/0.3299, allocations: 0.4979 MB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.33, allocations: 51.41 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.18e-05/0.33, allocations: 93.86 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.3301, allocations: 29.7 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.711e-05/0.3301, allocations: 84.08 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.3301, allocations: 31.62 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.3302, allocations: 21.66 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3303, allocations: 314.8 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.444e-05/0.3304, allocations: 27.92 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.115e-05/0.3304, allocations: 23.98 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.3305, allocations: 56.86 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3305, allocations: 4 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001812/0.3307, allocations: 93.53 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3307, allocations: 11.94 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3307, allocations: 0 / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.3307, allocations: 0 / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.3309, allocations: 15.98 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3309, allocations: 0 / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.331, allocations: 0 / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.331, allocations: 4 kB / 1.072 GB, free: 6.25 MB / 0.8262 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 0.0001549/0.3312, allocations: 117.8 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.3312, allocations: 7.938 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.943e-05/0.3313, allocations: 15.97 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3313, allocations: 0 / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3313, allocations: 0 / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3313, allocations: 0 / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.3315, allocations: 179.2 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3315, allocations: 448 / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.3316, allocations: 15.98 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3316, allocations: 4.219 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3316, allocations: 12 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3316, allocations: 0 / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3316, allocations: 3.938 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.3319, allocations: 156.9 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/0.332, allocations: 81.05 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.332, allocations: 0 / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.3321, allocations: 8.016 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.3321, allocations: 8.062 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.3322, allocations: 7.938 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.617e-05/0.3322, allocations: 75.28 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3322, allocations: 0 / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000193/0.3324, allocations: 12 kB / 1.073 GB, free: 5.461 MB / 0.8262 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.0001198/0.3325, allocations: 103.8 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001535/0.3327, allocations: 63.91 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3327, allocations: 0 / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.555e-05/0.3327, allocations: 40.08 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.333, allocations: 8.562 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005227/0.3335, allocations: 183.5 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.3338, allocations: 0.6807 MB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.719e-05/0.3339, allocations: 15.94 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.3339, allocations: 11.44 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.3339, allocations: 0 / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of Templates: time 0.00285/0.3368, allocations: 0.6963 MB / 1.074 GB, free: 3.652 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)