Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001175/0.001175, allocations: 192.7 kB / 16.13 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.625/1.625, allocations: 292.3 MB / 0.5484 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 66.8 kB / 0.6709 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2291, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002485/0.2316, allocations: 1.329 MB / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005369/0.2321, allocations: 235.3 kB / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.271e-05/0.2322, allocations: 3.938 kB / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.782e-05/0.2322, allocations: 4 kB / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.577e-05/0.2322, allocations: 0 / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.2325, allocations: 39.88 kB / 0.7844 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.105e-05/0.2326, allocations: 15.94 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.2326, allocations: 3.984 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.528e-05/0.2326, allocations: 12 kB / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.981e-05/0.2327, allocations: 11.92 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.2327, allocations: 0 / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.298e-05/0.2328, allocations: 43.97 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.2329, allocations: 11.97 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.2329, allocations: 4 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.233, allocations: 40.12 kB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.233, allocations: 0 / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.12e-07/0.233, allocations: 0 / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.233, allocations: 0 / 0.7845 GB, free: 12.17 MB / 0.6075 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.000376/0.2334, allocations: 335.6 kB / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2335, allocations: 8.031 kB / 0.7848 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.2335, allocations: 38.75 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.2337, allocations: 12.92 kB / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.247e-05/0.2337, allocations: 164.3 kB / 0.785 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.2338, allocations: 384 / 0.785 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.2338, allocations: 8.281 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.2339, allocations: 46.25 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.2339, allocations: 3.938 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.2339, allocations: 0 / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.2339, allocations: 0 / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.157e-05/0.234, allocations: 19.98 kB / 0.7851 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.2341, allocations: 161.7 kB / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.046e-05/0.2342, allocations: 50.52 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.577e-05/0.2342, allocations: 20.97 kB / 0.7853 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.2343, allocations: 0 / 0.7853 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.2343, allocations: 34.5 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.2343, allocations: 4 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.001936/0.2362, allocations: 0.4943 MB / 0.7859 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.2363, allocations: 55.41 kB / 0.7859 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.625e-05/0.2363, allocations: 89.86 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.2364, allocations: 29.7 kB / 0.786 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.106e-05/0.2364, allocations: 80.14 kB / 0.7861 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.2364, allocations: 27.56 kB / 0.7861 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.2365, allocations: 25.7 kB / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.844e-05/0.2366, allocations: 310.8 kB / 0.7864 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.832e-05/0.2366, allocations: 27.92 kB / 0.7865 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.7e-05/0.2367, allocations: 20 kB / 0.7865 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.509e-05/0.2368, allocations: 64.84 kB / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.2368, allocations: 0 / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001362/0.2369, allocations: 93.56 kB / 0.7866 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2369, allocations: 8 kB / 0.7867 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.237, allocations: 0 / 0.7867 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.237, allocations: 4.266 kB / 0.7867 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.2371, allocations: 12 kB / 0.7867 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2371, allocations: 0 / 0.7867 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.962e-05/0.2372, allocations: 11.92 kB / 0.7867 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.2372, allocations: 4 kB / 0.7867 GB, free: 9.656 MB / 0.6075 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 7.291e-05/0.2373, allocations: 113.8 kB / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.2373, allocations: 11.94 kB / 0.7868 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.853e-05/0.2374, allocations: 11.97 kB / 0.7868 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2374, allocations: 0 / 0.7868 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2374, allocations: 0 / 0.7868 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2374, allocations: 4 kB / 0.7868 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.2375, allocations: 171.5 kB / 0.787 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.2375, allocations: 0 / 0.787 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.2377, allocations: 23.92 kB / 0.787 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2377, allocations: 4 kB / 0.787 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.2377, allocations: 0 / 0.787 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2377, allocations: 0 / 0.787 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2377, allocations: 7.938 kB / 0.787 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.2379, allocations: 149 kB / 0.7872 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.761e-05/0.2379, allocations: 81.05 kB / 0.7872 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.238, allocations: 0 / 0.7872 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.2381, allocations: 12.09 kB / 0.7872 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.081e-05/0.2381, allocations: 7.984 kB / 0.7873 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.2381, allocations: 0 / 0.7873 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.052e-05/0.2381, allocations: 79.28 kB / 0.7873 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2382, allocations: 0 / 0.7873 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001805/0.2383, allocations: 8 kB / 0.7873 GB, free: 8.879 MB / 0.6075 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.0004343/0.2388, allocations: 0.6982 MB / 0.788 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.2389, allocations: 55.98 kB / 0.7881 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2389, allocations: 0 / 0.7881 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.067e-05/0.239, allocations: 35.92 kB / 0.7881 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.2392, allocations: 8 kB / 0.7881 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.2404, allocations: 1.271 MB / 0.7894 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.2406, allocations: 0.6809 MB / 0.79 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.509e-05/0.2407, allocations: 15.98 kB / 0.79 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.2408, allocations: 11.44 kB / 0.79 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2408, allocations: 7.938 kB / 0.7901 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009864/0.2506, allocations: 1.481 MB / 0.7915 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.2508, allocations: 261.3 kB / 0.7918 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/1.878, allocations: 7.188 kB / 0.7918 GB, free: 4.383 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)