Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",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.001088/0.001088, allocations: 110.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.001057/0.001057, allocations: 191.9 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.313/1.313, allocations: 222.9 MB / 241 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.8175/0.8175, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 63.86 kB / 0.5679 GB, free: 29.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1441, allocations: 77.94 MB / 0.644 GB, free: 9.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002454/0.1466, allocations: 1.26 MB / 0.6453 GB, free: 8.305 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003121/0.1497, allocations: 2.489 MB / 0.6477 GB, free: 5.801 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.579e-05/0.1498, allocations: 0 / 0.6477 GB, free: 5.801 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.963e-05/0.1498, allocations: 3.938 kB / 0.6477 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.892e-05/0.1499, allocations: 11.92 kB / 0.6477 GB, free: 5.785 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000693/0.1506, allocations: 127.4 kB / 0.6478 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.729e-05/0.1507, allocations: 35.91 kB / 0.6479 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.1507, allocations: 3.984 kB / 0.6479 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.672e-05/0.1508, allocations: 19.94 kB / 0.6479 GB, free: 5.602 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.191e-05/0.1509, allocations: 23.91 kB / 0.6479 GB, free: 5.578 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1509, allocations: 3.938 kB / 0.6479 GB, free: 5.574 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000366/0.1513, allocations: 119.7 kB / 0.648 GB, free: 5.457 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.1513, allocations: 7.984 kB / 0.648 GB, free: 5.449 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.1513, allocations: 15.92 kB / 0.6481 GB, free: 5.434 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.1516, allocations: 88 kB / 0.6481 GB, free: 5.348 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1516, allocations: 0 / 0.6481 GB, free: 5.348 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1516, allocations: 0 / 0.6481 GB, free: 5.348 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1516, allocations: 0 / 0.6481 GB, free: 5.348 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004612/0.1521, allocations: 359.3 kB / 0.6485 GB, free: 4.949 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1521, allocations: 8.625 kB / 0.6485 GB, free: 4.941 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/0.1522, allocations: 34.75 kB / 0.6485 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002294/0.1524, allocations: 16.92 kB / 0.6485 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.1525, allocations: 168.3 kB / 0.6487 GB, free: 4.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1526, allocations: 384 / 0.6487 GB, free: 4.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.1526, allocations: 12.33 kB / 0.6487 GB, free: 4.668 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.1528, allocations: 76.19 kB / 0.6488 GB, free: 4.578 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1528, allocations: 0 / 0.6488 GB, free: 4.578 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1528, allocations: 4 kB / 0.6488 GB, free: 4.574 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1528, allocations: 0 / 0.6488 GB, free: 4.574 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.656e-05/0.1529, allocations: 11.94 kB / 0.6488 GB, free: 4.562 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006268/0.1535, allocations: 466.9 kB / 0.6492 GB, free: 4.043 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.1537, allocations: 71.66 kB / 0.6493 GB, free: 3.945 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/0.1537, allocations: 22.7 kB / 0.6493 GB, free: 3.914 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.1537, allocations: 3.938 kB / 0.6493 GB, free: 3.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.1537, allocations: 42.64 kB / 0.6494 GB, free: 3.859 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.1538, allocations: 0 / 0.6494 GB, free: 3.859 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006199/0.1544, allocations: 298.2 kB / 0.6497 GB, free: 3.516 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.1545, allocations: 106.8 kB / 0.6498 GB, free: 3.387 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.249e-05/0.1545, allocations: 106.4 kB / 0.6499 GB, free: 3.273 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1545, allocations: 25.7 kB / 0.6499 GB, free: 3.242 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.1546, allocations: 91.97 kB / 0.65 GB, free: 3.148 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.1546, allocations: 27.8 kB / 0.65 GB, free: 3.121 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.1547, allocations: 25.72 kB / 0.65 GB, free: 3.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.1548, allocations: 322.8 kB / 0.6503 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.273e-05/0.1548, allocations: 12.06 kB / 0.6504 GB, free: 2.754 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.642e-05/0.1549, allocations: 61.08 kB / 0.6504 GB, free: 2.676 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.695e-05/0.155, allocations: 77.25 kB / 0.6505 GB, free: 2.582 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.155, allocations: 0 / 0.6505 GB, free: 2.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001366/0.1551, allocations: 101.5 kB / 0.6506 GB, free: 2.477 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1551, allocations: 8 kB / 0.6506 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1552, allocations: 0 / 0.6506 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1552, allocations: 0 / 0.6506 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.021e-05/0.1553, allocations: 27.88 kB / 0.6506 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1553, allocations: 3.984 kB / 0.6506 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.064e-05/0.1553, allocations: 4 kB / 0.6506 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.1553, allocations: 7.938 kB / 0.6506 GB, free: 2.426 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.362e-05/0.1554, allocations: 117.9 kB / 0.6507 GB, free: 2.301 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.017e-05/0.1555, allocations: 4 kB / 0.6507 GB, free: 2.297 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.1555, allocations: 11.56 kB / 0.6508 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1555, allocations: 0 / 0.6508 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1555, allocations: 0 / 0.6508 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1555, allocations: 0 / 0.6508 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.1559, allocations: 185.6 kB / 0.6509 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1559, allocations: 0 / 0.6509 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.044e-05/0.156, allocations: 19.92 kB / 0.651 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.156, allocations: 4 kB / 0.651 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.156, allocations: 4 kB / 0.651 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.156, allocations: 0 / 0.651 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.156, allocations: 0 / 0.651 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.1563, allocations: 333.9 kB / 0.6513 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.1563, allocations: 81.11 kB / 0.6514 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.1564, allocations: 7.969 kB / 0.6514 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.1565, allocations: 8 kB / 0.6514 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.1566, allocations: 11.94 kB / 0.6514 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.1566, allocations: 0 / 0.6514 GB, free: 1.559 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.427e-05/0.1566, allocations: 83.27 kB / 0.6515 GB, free: 1.477 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1566, allocations: 0 / 0.6515 GB, free: 1.477 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003298/0.157, allocations: 16 kB / 0.6515 GB, free: 1.461 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (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 Backend phase and start with SimCode phase: time 0.000504/0.1575, allocations: 0.8677 MB / 0.6523 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.1576, allocations: 43.92 kB / 0.6524 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1576, allocations: 256 / 0.6524 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.663e-05/0.1577, allocations: 23.94 kB / 0.6524 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.1581, allocations: 11.92 kB / 0.6524 GB, free: 496 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.1597, allocations: 1.7 MB / 0.6541 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.1599, allocations: 0.6884 MB / 0.6547 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.048e-05/0.16, allocations: 15.92 kB / 0.6548 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.16, allocations: 15.44 kB / 0.6548 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of SimCode: time 4e-07/0.16, allocations: 0 / 0.6548 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.1785, allocations: 1.703 MB / 0.6564 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.448/7.626, allocations: 12.67 kB / 0.6564 GB, free: 12.36 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)