Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_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.001833/0.001833, allocations: 105 kB / 16.4 MB, free: 5.996 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.002292/0.002292, allocations: 193 kB / 17.34 MB, free: 5.617 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.811/1.811, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7644/0.7644, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 64.05 kB / 0.5572 GB, free: 32.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2031, allocations: 76.19 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002963/0.2061, allocations: 1.239 MB / 0.6328 GB, free: 3.664 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006229/0.2068, allocations: 235.6 kB / 0.633 GB, free: 3.434 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.278e-05/0.2068, allocations: 0 / 0.633 GB, free: 3.434 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.743e-05/0.2068, allocations: 7.938 kB / 0.633 GB, free: 3.426 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.217e-05/0.2069, allocations: 0 / 0.633 GB, free: 3.426 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.2073, allocations: 39.81 kB / 0.6331 GB, free: 3.387 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.702e-05/0.2074, allocations: 19.94 kB / 0.6331 GB, free: 3.367 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.221e-05/0.2074, allocations: 3.984 kB / 0.6331 GB, free: 3.363 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.604e-05/0.2075, allocations: 4 kB / 0.6331 GB, free: 3.359 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.335e-05/0.2076, allocations: 23.84 kB / 0.6331 GB, free: 3.336 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.2076, allocations: 0 / 0.6331 GB, free: 3.336 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.2077, allocations: 39.97 kB / 0.6332 GB, free: 3.297 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.2077, allocations: 15.98 kB / 0.6332 GB, free: 3.281 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.2078, allocations: 11.94 kB / 0.6332 GB, free: 3.27 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.2079, allocations: 34.77 kB / 0.6332 GB, free: 3.238 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2079, allocations: 0 / 0.6332 GB, free: 3.238 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.208, allocations: 0 / 0.6332 GB, free: 3.238 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.208, allocations: 0 / 0.6332 GB, free: 3.238 MB / 478.1 MB 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.0005277/0.2085, allocations: 335.6 kB / 0.6336 GB, free: 2.859 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.2086, allocations: 12.03 kB / 0.6336 GB, free: 2.848 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.264e-05/0.2086, allocations: 34.75 kB / 0.6336 GB, free: 2.805 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.2088, allocations: 16.92 kB / 0.6336 GB, free: 2.789 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.2089, allocations: 161 kB / 0.6338 GB, free: 2.594 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.2089, allocations: 4.312 kB / 0.6338 GB, free: 2.59 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.209, allocations: 4.375 kB / 0.6338 GB, free: 2.586 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.2091, allocations: 46.25 kB / 0.6338 GB, free: 2.535 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.2091, allocations: 3.938 kB / 0.6338 GB, free: 2.531 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.2091, allocations: 3.938 kB / 0.6338 GB, free: 2.527 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.2091, allocations: 0 / 0.6338 GB, free: 2.527 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.327e-05/0.2092, allocations: 15.98 kB / 0.6338 GB, free: 2.512 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.2094, allocations: 161.9 kB / 0.634 GB, free: 2.305 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.466e-05/0.2095, allocations: 42.58 kB / 0.634 GB, free: 2.254 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.565e-05/0.2096, allocations: 28.97 kB / 0.6341 GB, free: 2.223 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.2096, allocations: 0 / 0.6341 GB, free: 2.223 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.2096, allocations: 30.56 kB / 0.6341 GB, free: 2.184 MB / 478.1 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.2096, allocations: 0 / 0.6341 GB, free: 2.184 MB / 478.1 MB Notification: Performance of matching and sorting (n=8): time 0.002115/0.2117, allocations: 0.5019 MB / 0.6346 GB, free: 1.629 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.2118, allocations: 51.41 kB / 0.6346 GB, free: 1.566 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.142e-05/0.2118, allocations: 93.86 kB / 0.6347 GB, free: 1.465 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.2119, allocations: 29.7 kB / 0.6348 GB, free: 1.43 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.2119, allocations: 80.14 kB / 0.6348 GB, free: 1.348 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.2119, allocations: 23.56 kB / 0.6349 GB, free: 1.324 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.212, allocations: 29.7 kB / 0.6349 GB, free: 1.289 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2121, allocations: 310.8 kB / 0.6352 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.805e-05/0.2122, allocations: 23.98 kB / 0.6352 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.965e-05/0.2122, allocations: 27.88 kB / 0.6352 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.2123, allocations: 64.84 kB / 0.6353 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.2123, allocations: 0 / 0.6353 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001469/0.2125, allocations: 93.56 kB / 0.6354 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.2125, allocations: 8 kB / 0.6354 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2125, allocations: 0 / 0.6354 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.2125, allocations: 0 / 0.6354 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.2127, allocations: 12 kB / 0.6354 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.2127, allocations: 3.984 kB / 0.6354 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.372e-05/0.2128, allocations: 448 / 0.6354 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.2128, allocations: 8 kB / 0.6354 GB, free: 0.7305 MB / 478.1 MB 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 8.664e-05/0.2129, allocations: 113.8 kB / 0.6355 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.2129, allocations: 7.938 kB / 0.6355 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/0.213, allocations: 15.97 kB / 0.6355 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.213, allocations: 0 / 0.6355 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.213, allocations: 4 kB / 0.6355 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.213, allocations: 0 / 0.6355 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.2131, allocations: 183.4 kB / 0.6357 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2131, allocations: 0 / 0.6357 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.2133, allocations: 23.92 kB / 0.6357 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2133, allocations: 0 / 0.6357 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.2133, allocations: 4 kB / 0.6357 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2133, allocations: 0 / 0.6357 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2133, allocations: 0 / 0.6357 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.2136, allocations: 153.2 kB / 0.6359 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.2136, allocations: 81.05 kB / 0.636 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.2136, allocations: 0 / 0.636 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.2138, allocations: 11.95 kB / 0.636 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.2138, allocations: 12.06 kB / 0.636 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.2138, allocations: 0 / 0.636 GB, free: 32 kB / 478.1 MB Notification: Performance of sorting global known variables: time 4.351e-05/0.2139, allocations: 75.28 kB / 0.6361 GB, free: 15.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2139, allocations: 0 / 0.6361 GB, free: 15.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001901/0.2141, allocations: 12 kB / 0.6361 GB, free: 15.95 MB / 494.1 MB 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.0005003/0.2146, allocations: 0.6866 MB / 0.6367 GB, free: 15.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001527/0.2147, allocations: 63.97 kB / 0.6368 GB, free: 15.17 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2147, allocations: 0 / 0.6368 GB, free: 15.17 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.275e-05/0.2148, allocations: 31.92 kB / 0.6368 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.2151, allocations: 10.17 kB / 0.6368 GB, free: 15.13 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.2165, allocations: 1.268 MB / 0.6381 GB, free: 13.78 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.2168, allocations: 0.6808 MB / 0.6387 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.425e-05/0.2169, allocations: 11.94 kB / 0.6388 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/0.217, allocations: 11.44 kB / 0.6388 GB, free: 13.05 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.217, allocations: 0 / 0.6388 GB, free: 13.05 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.942/2.159, allocations: 1.661 MB / 0.6404 GB, free: 11.57 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/14.99, allocations: 10.03 kB / 0.6404 GB, free: 11.56 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)