Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.SaturationPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.001115/0.001115, allocations: 108.8 kB / 16.41 MB, free: 6.469 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.001133/0.001133, allocations: 189.2 kB / 17.34 MB, free: 5.75 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.365/1.365, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7861/0.7861, allocations: 122.9 MB / 414.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 71.42 kB / 0.568 GB, free: 28.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1697, allocations: 77.92 MB / 0.6441 GB, free: 9.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002954/0.1727, allocations: 1.276 MB / 0.6453 GB, free: 8.281 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.174, allocations: 0.6448 MB / 0.646 GB, free: 7.633 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.1741, allocations: 0 / 0.646 GB, free: 7.633 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.731e-05/0.1741, allocations: 3.938 kB / 0.646 GB, free: 7.629 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.906e-05/0.1742, allocations: 3.984 kB / 0.646 GB, free: 7.625 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006201/0.1748, allocations: 107.5 kB / 0.6461 GB, free: 7.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.258e-05/0.1749, allocations: 19.92 kB / 0.6461 GB, free: 7.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.677e-05/0.175, allocations: 8 kB / 0.6461 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.852e-05/0.175, allocations: 7.938 kB / 0.6461 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.207e-05/0.1751, allocations: 15.92 kB / 0.6461 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.1751, allocations: 4 kB / 0.6461 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/0.1754, allocations: 147.7 kB / 0.6463 GB, free: 7.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.1755, allocations: 11.94 kB / 0.6463 GB, free: 7.309 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.1755, allocations: 4 kB / 0.6463 GB, free: 7.305 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.1757, allocations: 99.97 kB / 0.6464 GB, free: 7.207 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1757, allocations: 0 / 0.6464 GB, free: 7.207 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1758, allocations: 0 / 0.6464 GB, free: 7.207 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1758, allocations: 0 / 0.6464 GB, free: 7.207 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006044/0.1764, allocations: 367.2 kB / 0.6467 GB, free: 6.797 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.1764, allocations: 8.031 kB / 0.6467 GB, free: 6.789 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.509e-05/0.1765, allocations: 30.75 kB / 0.6468 GB, free: 6.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004197/0.1769, allocations: 28.91 kB / 0.6468 GB, free: 6.723 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.177, allocations: 168.3 kB / 0.6469 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1771, allocations: 384 / 0.6469 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.1771, allocations: 8.359 kB / 0.647 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.1773, allocations: 54.22 kB / 0.647 GB, free: 6.453 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1773, allocations: 3.938 kB / 0.647 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.1773, allocations: 4 kB / 0.647 GB, free: 6.445 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1773, allocations: 7.938 kB / 0.647 GB, free: 6.438 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.1775, allocations: 23.97 kB / 0.647 GB, free: 6.414 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/0.1777, allocations: 165.6 kB / 0.6472 GB, free: 6.203 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.178, allocations: 70.52 kB / 0.6473 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.716e-05/0.1781, allocations: 24.94 kB / 0.6473 GB, free: 6.098 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.1782, allocations: 0 / 0.6473 GB, free: 6.098 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.1782, allocations: 38.55 kB / 0.6473 GB, free: 6.051 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1782, allocations: 0 / 0.6473 GB, free: 6.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003416/0.1816, allocations: 0.5724 MB / 0.6479 GB, free: 5.426 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.1817, allocations: 55.41 kB / 0.6479 GB, free: 5.359 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.391e-05/0.1817, allocations: 93.86 kB / 0.648 GB, free: 5.258 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.1818, allocations: 25.7 kB / 0.6481 GB, free: 5.227 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.1818, allocations: 88.08 kB / 0.6481 GB, free: 5.137 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/0.1819, allocations: 23.78 kB / 0.6482 GB, free: 5.113 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.215e-05/0.182, allocations: 21.7 kB / 0.6482 GB, free: 5.086 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1821, allocations: 326.8 kB / 0.6485 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.1823, allocations: 36.09 kB / 0.6485 GB, free: 4.723 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.1824, allocations: 35.97 kB / 0.6486 GB, free: 4.688 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.1827, allocations: 84.97 kB / 0.6486 GB, free: 4.602 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1827, allocations: 0 / 0.6486 GB, free: 4.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003959/0.1831, allocations: 133.6 kB / 0.6488 GB, free: 4.465 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1831, allocations: 4 kB / 0.6488 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1831, allocations: 64 / 0.6488 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1832, allocations: 4 kB / 0.6488 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.1834, allocations: 31.91 kB / 0.6488 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1834, allocations: 0 / 0.6488 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.1836, allocations: 11.98 kB / 0.6488 GB, free: 4.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.1836, allocations: 4 kB / 0.6488 GB, free: 4.41 MB / 494.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 (7): * Single equations (assignments): 7 * 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.603e-05/0.1837, allocations: 106.7 kB / 0.6489 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.1837, allocations: 15.88 kB / 0.6489 GB, free: 4.281 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.409e-05/0.1838, allocations: 11.97 kB / 0.649 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1838, allocations: 0 / 0.649 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1838, allocations: 0 / 0.649 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1838, allocations: 0 / 0.649 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.184, allocations: 187.7 kB / 0.6491 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.184, allocations: 0 / 0.6491 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.1842, allocations: 27.91 kB / 0.6492 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1842, allocations: 4 kB / 0.6492 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.1843, allocations: 3.984 kB / 0.6492 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1843, allocations: 0 / 0.6492 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1843, allocations: 4 kB / 0.6492 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000554/0.1848, allocations: 189 kB / 0.6493 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.931e-05/0.1849, allocations: 81.05 kB / 0.6494 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.1849, allocations: 4 kB / 0.6494 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.1851, allocations: 12.02 kB / 0.6494 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.1851, allocations: 4 kB / 0.6494 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.1852, allocations: 3.984 kB / 0.6494 GB, free: 3.672 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.63e-05/0.1852, allocations: 83.34 kB / 0.6495 GB, free: 3.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.1852, allocations: 0 / 0.6495 GB, free: 3.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1855, allocations: 39.86 kB / 0.6496 GB, free: 3.551 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 (6): * Single equations (assignments): 6 * 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.0009615/0.1864, allocations: 0.7528 MB / 0.6503 GB, free: 2.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003604/0.1868, allocations: 100.1 kB / 0.6504 GB, free: 2.672 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1868, allocations: 0 / 0.6504 GB, free: 2.672 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.187, allocations: 51.89 kB / 0.6504 GB, free: 2.621 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.1872, allocations: 4 kB / 0.6504 GB, free: 2.617 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.1892, allocations: 1.345 MB / 0.6518 GB, free: 1.188 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.1895, allocations: 0.6846 MB / 0.6524 GB, free: 488 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001664/0.1896, allocations: 28.3 kB / 0.6525 GB, free: 460 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.555e-05/0.1897, allocations: 19.5 kB / 0.6525 GB, free: 444 kB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1897, allocations: 3.938 kB / 0.6525 GB, free: 440 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02184/0.2116, allocations: 2.487 MB / 0.6549 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.431/7.642, allocations: 6.812 kB / 0.6549 GB, free: 14.12 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)