Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.889/2.889, allocations: 287.5 MB / 302.4 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001429/0.001429, allocations: 183.1 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.2/2.2, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009323/0.0009321, allocations: 91.55 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006509/0.0006513, allocations: 16.09 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2332, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001372/0.2346, allocations: 0.9743 MB / 0.9794 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004925/0.2352, allocations: 219.5 kB / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.26e-05/0.2352, allocations: 0 / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.2352, allocations: 0 / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.895e-05/0.2353, allocations: 4 kB / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.2355, allocations: 39.77 kB / 0.9797 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.285e-05/0.2356, allocations: 11.94 kB / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.095e-05/0.2357, allocations: 7.969 kB / 0.9797 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.329e-05/0.2357, allocations: 12 kB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.371e-05/0.2358, allocations: 3.984 kB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.2358, allocations: 4 kB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.2359, allocations: 47.91 kB / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.236, allocations: 11.98 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.236, allocations: 29.64 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.621e-05/0.2361, allocations: 28.19 kB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2361, allocations: 0 / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2361, allocations: 0 / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.2361, allocations: 0 / 0.9798 GB, free: 26.85 MB / 0.6198 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.0003262/0.2365, allocations: 331.4 kB / 0.9801 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.2365, allocations: 12.02 kB / 0.9801 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.186e-05/0.2366, allocations: 38.55 kB / 0.9802 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.2367, allocations: 15.95 kB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.372e-05/0.2368, allocations: 163.1 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.2368, allocations: 4 kB / 0.9804 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.2369, allocations: 7.906 kB / 0.9804 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.237, allocations: 41.69 kB / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.237, allocations: 0 / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.237, allocations: 0 / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2371, allocations: 3.938 kB / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.955e-05/0.2371, allocations: 12 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/0.2373, allocations: 169.7 kB / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.2374, allocations: 42.56 kB / 0.9806 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.885e-05/0.2375, allocations: 24.95 kB / 0.9806 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.2375, allocations: 0 / 0.9806 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.2375, allocations: 34.56 kB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 2.434e-06/0.2375, allocations: 0 / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.003065/0.2406, allocations: 0.4902 MB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.2407, allocations: 51.41 kB / 0.9812 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.73e-05/0.2407, allocations: 97.84 kB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.2407, allocations: 33.7 kB / 0.9813 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.603e-05/0.2408, allocations: 84.12 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.2408, allocations: 27.56 kB / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.846e-06/0.2408, allocations: 0 / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.549e-05/0.2409, allocations: 322.8 kB / 0.9817 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.843e-05/0.241, allocations: 20 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.897e-05/0.2411, allocations: 23.98 kB / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.643e-05/0.2412, allocations: 28.12 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2412, allocations: 4 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002199/0.2414, allocations: 85.62 kB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.2414, allocations: 8 kB / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2415, allocations: 0 / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.2415, allocations: 0 / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.2418, allocations: 23.92 kB / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.2418, allocations: 0 / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.2419, allocations: 0 / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.2419, allocations: 4 kB / 0.9819 GB, free: 24.41 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.429e-05/0.242, allocations: 117.8 kB / 0.982 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.242, allocations: 4 kB / 0.982 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.892e-05/0.2421, allocations: 11.97 kB / 0.9821 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2421, allocations: 0 / 0.9821 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.2421, allocations: 0 / 0.9821 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2422, allocations: 4 kB / 0.9821 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.2423, allocations: 175.9 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2423, allocations: 0 / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/0.2426, allocations: 19.98 kB / 0.9823 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2426, allocations: 0 / 0.9823 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.2426, allocations: 0 / 0.9823 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.2426, allocations: 4 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2426, allocations: 4 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.243, allocations: 152.9 kB / 0.9824 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.243, allocations: 81.05 kB / 0.9825 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.243, allocations: 4 kB / 0.9825 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.2432, allocations: 8.016 kB / 0.9825 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.2433, allocations: 4.062 kB / 0.9825 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.2433, allocations: 4 kB / 0.9825 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.715e-05/0.2433, allocations: 75.28 kB / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2433, allocations: 0 / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002754/0.2436, allocations: 16.09 kB / 0.9826 GB, free: 23.64 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005184/0.2441, allocations: 0.6945 MB / 0.9833 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002079/0.2444, allocations: 59.92 kB / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2444, allocations: 0 / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.131e-05/0.2445, allocations: 31.98 kB / 0.9834 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.2448, allocations: 11.95 kB / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.2459, allocations: 478.7 kB / 0.9838 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.2461, allocations: 0.681 MB / 0.9845 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001444/0.2462, allocations: 8.172 kB / 0.9845 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.2463, allocations: 11.44 kB / 0.9845 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of SimCode: time 1.032e-06/0.2463, allocations: 0 / 0.9845 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.2662, allocations: 1.417 MB / 0.9859 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002756/0.2666, allocations: 249.6 kB / 0.9861 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/2.824, allocations: 0 / 0.9861 GB, free: 20.09 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)