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.001482/0.001482, allocations: 102.7 kB / 16.4 MB, free: 6.484 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.00179/0.001791, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.594/1.594, 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.7354/0.7354, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 68.05 kB / 0.5572 GB, free: 32.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1494, allocations: 76.17 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002742/0.1522, allocations: 1.243 MB / 0.6328 GB, free: 3.66 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003234/0.1554, allocations: 2.499 MB / 0.6352 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.138e-05/0.1555, allocations: 0 / 0.6352 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.043e-05/0.1556, allocations: 0 / 0.6352 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.77e-05/0.1556, allocations: 3.938 kB / 0.6352 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006375/0.1563, allocations: 139.3 kB / 0.6354 GB, free: 1.004 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.1564, allocations: 39.84 kB / 0.6354 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.1565, allocations: 7.984 kB / 0.6354 GB, free: 0.957 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.022e-05/0.1566, allocations: 11.94 kB / 0.6354 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.471e-05/0.1566, allocations: 19.97 kB / 0.6354 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.1566, allocations: 0 / 0.6354 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002947/0.1569, allocations: 115.8 kB / 0.6355 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.157, allocations: 11.92 kB / 0.6356 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.157, allocations: 19.92 kB / 0.6356 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.1573, allocations: 90.59 kB / 0.6357 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1573, allocations: 0 / 0.6357 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1573, allocations: 0 / 0.6357 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1573, allocations: 0 / 0.6357 GB, free: 0.6953 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003985/0.1577, allocations: 348.3 kB / 0.636 GB, free: 316 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1578, allocations: 12.03 kB / 0.636 GB, free: 304 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.1578, allocations: 30.75 kB / 0.636 GB, free: 264 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002356/0.1581, allocations: 12.84 kB / 0.6361 GB, free: 252 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.688e-05/0.1582, allocations: 172.4 kB / 0.6362 GB, free: 40 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1582, allocations: 4.375 kB / 0.6362 GB, free: 36 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.1582, allocations: 4.375 kB / 0.6362 GB, free: 32 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.1584, allocations: 84.05 kB / 0.6363 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1584, allocations: 0 / 0.6363 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1584, allocations: 4 kB / 0.6363 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1584, allocations: 0 / 0.6363 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.978e-05/0.1585, allocations: 8 kB / 0.6363 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005962/0.1591, allocations: 474.8 kB / 0.6368 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.1592, allocations: 75.66 kB / 0.6368 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.1593, allocations: 18.7 kB / 0.6369 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.104e-06/0.1593, allocations: 0 / 0.6369 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.1593, allocations: 42.64 kB / 0.6369 GB, free: 15.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 2.334e-06/0.1593, allocations: 7.922 kB / 0.6369 GB, free: 15.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.000596/0.1599, allocations: 302.3 kB / 0.6372 GB, free: 14.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.16, allocations: 102.8 kB / 0.6373 GB, free: 14.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.819e-05/0.1601, allocations: 101.8 kB / 0.6374 GB, free: 14.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1601, allocations: 33.7 kB / 0.6374 GB, free: 14.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.1601, allocations: 84.05 kB / 0.6375 GB, free: 14.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.1602, allocations: 31.55 kB / 0.6375 GB, free: 14.47 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.1602, allocations: 25.88 kB / 0.6376 GB, free: 14.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1603, allocations: 326.7 kB / 0.6379 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.902e-05/0.1604, allocations: 12 kB / 0.6379 GB, free: 14.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.044e-05/0.1604, allocations: 49.14 kB / 0.6379 GB, free: 14.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.1605, allocations: 81.02 kB / 0.638 GB, free: 13.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1606, allocations: 4 kB / 0.638 GB, free: 13.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001443/0.1607, allocations: 89.55 kB / 0.6381 GB, free: 13.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1607, allocations: 4 kB / 0.6381 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1607, allocations: 4 kB / 0.6381 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1608, allocations: 0 / 0.6381 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.395e-05/0.1608, allocations: 20.12 kB / 0.6381 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1608, allocations: 7.984 kB / 0.6381 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.973e-05/0.1609, allocations: 7.906 kB / 0.6381 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.1609, allocations: 7.938 kB / 0.6381 GB, free: 13.79 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 8.467e-05/0.161, allocations: 117.8 kB / 0.6383 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.1611, allocations: 4 kB / 0.6383 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.1611, allocations: 7.562 kB / 0.6383 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1611, allocations: 4 kB / 0.6383 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1611, allocations: 0 / 0.6383 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1611, allocations: 4.609 kB / 0.6383 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.1615, allocations: 177.6 kB / 0.6384 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1615, allocations: 4 kB / 0.6384 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.775e-05/0.1616, allocations: 15.98 kB / 0.6385 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1616, allocations: 0 / 0.6385 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1616, allocations: 8 kB / 0.6385 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1616, allocations: 3.938 kB / 0.6385 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1616, allocations: 0 / 0.6385 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.1619, allocations: 333.9 kB / 0.6388 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.073e-05/0.1619, allocations: 85.19 kB / 0.6389 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.162, allocations: 8.031 kB / 0.6389 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.1621, allocations: 4 kB / 0.6389 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/0.1622, allocations: 11.88 kB / 0.6389 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.1622, allocations: 4.062 kB / 0.6389 GB, free: 12.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.852e-05/0.1622, allocations: 91.27 kB / 0.639 GB, free: 12.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1622, allocations: 0 / 0.639 GB, free: 12.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003165/0.1626, allocations: 12 kB / 0.639 GB, free: 12.81 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.0004872/0.163, allocations: 0.8633 MB / 0.6398 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001126/0.1632, allocations: 43.86 kB / 0.6399 GB, free: 11.87 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.1632, allocations: 4 kB / 0.6399 GB, free: 11.87 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.359e-05/0.1632, allocations: 12 kB / 0.6399 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.1637, allocations: 20.08 kB / 0.6399 GB, free: 11.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.1653, allocations: 1.699 MB / 0.6416 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.1656, allocations: 0.6846 MB / 0.6422 GB, free: 9.309 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.036e-05/0.1657, allocations: 11.98 kB / 0.6423 GB, free: 9.297 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.1657, allocations: 15.44 kB / 0.6423 GB, free: 9.285 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1657, allocations: 0 / 0.6423 GB, free: 9.285 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.1906, allocations: 1.727 MB / 0.644 GB, free: 7.715 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.611/8.802, allocations: 4.375 kB / 0.644 GB, free: 7.711 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)