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.913/2.913, allocations: 287.3 MB / 302.3 MB, free: 8.219 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.001594/0.001594, allocations: 194 kB / 370.8 MB, free: 10.87 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.082/2.082, allocations: 205.4 MB / 0.6295 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.001116/0.001116, allocations: 94.98 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005086/0.0005088, allocations: 16.95 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2346, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001408/0.236, allocations: 0.9782 MB / 0.9792 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004928/0.2366, allocations: 203.5 kB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.731e-05/0.2366, allocations: 0 / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.258e-05/0.2366, allocations: 0 / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.629e-05/0.2367, allocations: 0 / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.237, allocations: 39.88 kB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.165e-05/0.237, allocations: 11.97 kB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.633e-05/0.2371, allocations: 7.938 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.424e-05/0.2371, allocations: 11.94 kB / 0.9795 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.237e-05/0.2372, allocations: 11.92 kB / 0.9795 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.2372, allocations: 4 kB / 0.9795 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.2374, allocations: 43.95 kB / 0.9796 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.2374, allocations: 4 kB / 0.9796 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.2374, allocations: 25.7 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.2376, allocations: 36.19 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2376, allocations: 0 / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2376, allocations: 0 / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.2376, allocations: 4 kB / 0.9796 GB, free: 26.91 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.0003476/0.238, allocations: 327.4 kB / 0.9799 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.238, allocations: 12.02 kB / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.162e-05/0.2381, allocations: 34.56 kB / 0.98 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.2382, allocations: 15.94 kB / 0.98 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.097e-05/0.2383, allocations: 167 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.2383, allocations: 0 / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.2384, allocations: 7.906 kB / 0.9802 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.2385, allocations: 49.69 kB / 0.9802 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2385, allocations: 0 / 0.9802 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.2386, allocations: 0 / 0.9802 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2386, allocations: 0 / 0.9802 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.307e-05/0.2386, allocations: 15.98 kB / 0.9802 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.2388, allocations: 157.6 kB / 0.9804 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.2389, allocations: 46.58 kB / 0.9804 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.2389, allocations: 4 kB / 0.9804 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.239, allocations: 38.5 kB / 0.9805 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.239, allocations: 0 / 0.9805 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.003132/0.2421, allocations: 0.4982 MB / 0.981 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.2422, allocations: 51.41 kB / 0.981 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.361e-05/0.2422, allocations: 89.86 kB / 0.9811 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.2423, allocations: 25.7 kB / 0.9811 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.523e-05/0.2423, allocations: 80.14 kB / 0.9812 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.2424, allocations: 31.55 kB / 0.9812 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-06/0.2424, allocations: 0 / 0.9812 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.914e-05/0.2424, allocations: 330.8 kB / 0.9815 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.766e-05/0.2425, allocations: 19.98 kB / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.804e-05/0.2426, allocations: 31.86 kB / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.693e-05/0.2427, allocations: 24 kB / 0.9816 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2427, allocations: 0 / 0.9816 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002191/0.2429, allocations: 93.62 kB / 0.9817 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.243, allocations: 4 kB / 0.9817 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.243, allocations: 0 / 0.9817 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.243, allocations: 0 / 0.9817 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.2433, allocations: 12 kB / 0.9817 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.2433, allocations: 8 kB / 0.9817 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.2434, allocations: 3.984 kB / 0.9817 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.2434, allocations: 0 / 0.9817 GB, free: 24.5 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 7.972e-05/0.2435, allocations: 117.8 kB / 0.9818 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.2435, allocations: 3.984 kB / 0.9818 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.226e-05/0.2436, allocations: 15.97 kB / 0.9819 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2436, allocations: 4 kB / 0.9819 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2436, allocations: 0 / 0.9819 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.2436, allocations: 0 / 0.9819 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.2438, allocations: 175.5 kB / 0.982 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2438, allocations: 0 / 0.982 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.244, allocations: 20.36 kB / 0.9821 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2441, allocations: 4 kB / 0.9821 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.2441, allocations: 4 kB / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.2441, allocations: 4 kB / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.2441, allocations: 3.938 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.2445, allocations: 149 kB / 0.9822 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/0.2445, allocations: 81.17 kB / 0.9823 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.2445, allocations: 4.031 kB / 0.9823 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.2447, allocations: 4.281 kB / 0.9823 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.2448, allocations: 3.984 kB / 0.9823 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.2448, allocations: 11.94 kB / 0.9823 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.067e-05/0.2448, allocations: 79.22 kB / 0.9824 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2448, allocations: 0 / 0.9824 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002859/0.2451, allocations: 8 kB / 0.9824 GB, free: 23.72 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.0005193/0.2457, allocations: 0.6866 MB / 0.9831 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002051/0.2459, allocations: 59.92 kB / 0.9831 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2459, allocations: 0 / 0.9831 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.198e-05/0.246, allocations: 35.97 kB / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.2462, allocations: 5.312 kB / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.2474, allocations: 474.8 kB / 0.9836 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.2476, allocations: 0.6809 MB / 0.9843 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001484/0.2478, allocations: 16.17 kB / 0.9843 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.847e-05/0.2478, allocations: 11.44 kB / 0.9843 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of SimCode: time 1.373e-06/0.2478, allocations: 0 / 0.9843 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.2712, allocations: 1.394 MB / 0.9857 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003071/0.2716, allocations: 239.6 kB / 0.9859 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.443/2.715, allocations: 2.922 kB / 0.9859 GB, free: 20.25 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)