Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7405/0.7405, allocations: 127.4 MB / 134.9 MB, free: 3.691 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 176.9 kB / 164.7 MB, free: 6.527 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.938/1.938, allocations: 205.2 MB / 399.5 MB, free: 5.922 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.001129, allocations: 87.5 kB / 476.7 MB, free: 8.648 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.219e-05/2.222e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1849, allocations: 76.76 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.344/1.529, allocations: 315.6 MB / 0.9299 GB, free: 228.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/1.53, allocations: 79.94 kB / 0.9299 GB, free: 228.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01657/1.546, allocations: 8.351 MB / 0.9381 GB, free: 219.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.272e-06/1.546, allocations: 0 / 0.9381 GB, free: 219.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.003e-06/1.546, allocations: 0 / 0.9381 GB, free: 219.9 MB / 0.6355 GB 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.0002669/1.547, allocations: 346.5 kB / 0.9384 GB, free: 219.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/1.547, allocations: 16.03 kB / 0.9384 GB, free: 219.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/1.547, allocations: 19.94 kB / 0.9385 GB, free: 219.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.089e-05/1.547, allocations: 159.1 kB / 0.9386 GB, free: 219.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/1.547, allocations: 0 / 0.9386 GB, free: 219.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/1.547, allocations: 8.688 kB / 0.9386 GB, free: 219.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.859e-05/1.547, allocations: 7.938 kB / 0.9386 GB, free: 219.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.769e-05/1.547, allocations: 60.27 kB / 0.9387 GB, free: 219.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/1.547, allocations: 4 kB / 0.9387 GB, free: 219.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/1.547, allocations: 0 / 0.9387 GB, free: 219.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/1.547, allocations: 7.984 kB / 0.9387 GB, free: 219.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/1.548, allocations: 443.4 kB / 0.9391 GB, free: 218.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.518e-05/1.548, allocations: 71.78 kB / 0.9392 GB, free: 218.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/1.548, allocations: 18.64 kB / 0.9392 GB, free: 218.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/1.548, allocations: 3.938 kB / 0.9392 GB, free: 218.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/1.548, allocations: 34.56 kB / 0.9392 GB, free: 218.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/1.548, allocations: 4 kB / 0.9392 GB, free: 218.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004729/1.548, allocations: 278.4 kB / 0.9395 GB, free: 218.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/1.548, allocations: 110.8 kB / 0.9396 GB, free: 218 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.711e-05/1.548, allocations: 96.92 kB / 0.9397 GB, free: 217.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/1.548, allocations: 29.7 kB / 0.9397 GB, free: 217.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.605e-05/1.548, allocations: 84.11 kB / 0.9398 GB, free: 217.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.151e-05/1.548, allocations: 31.64 kB / 0.9398 GB, free: 217.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/1.548, allocations: 0 / 0.9398 GB, free: 217.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.446e-05/1.549, allocations: 318.8 kB / 0.9402 GB, free: 217.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.041e-05/1.549, allocations: 12 kB / 0.9402 GB, free: 217.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.209e-05/1.549, allocations: 41.16 kB / 0.9402 GB, free: 217.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.112e-05/1.549, allocations: 23.98 kB / 0.9402 GB, free: 217.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/1.549, allocations: 0 / 0.9402 GB, free: 217.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.853e-05/1.549, allocations: 81.47 kB / 0.9403 GB, free: 217.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/1.549, allocations: 7.984 kB / 0.9403 GB, free: 217.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.549, allocations: 4 kB / 0.9403 GB, free: 217.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/1.549, allocations: 0 / 0.9403 GB, free: 217.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.981e-05/1.549, allocations: 16.12 kB / 0.9403 GB, free: 217.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/1.549, allocations: 15.89 kB / 0.9403 GB, free: 217.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.33e-05/1.549, allocations: 0 / 0.9403 GB, free: 217.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/1.549, allocations: 7.938 kB / 0.9404 GB, free: 217.2 MB / 0.6355 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.101e-05/1.549, allocations: 105 kB / 0.9405 GB, free: 217.1 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001031/1.549, allocations: 65.61 kB / 0.9405 GB, free: 217 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/1.549, allocations: 7.906 kB / 0.9405 GB, free: 217 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/1.549, allocations: 8.141 kB / 0.9405 GB, free: 217 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/1.549, allocations: 4 kB / 0.9405 GB, free: 217 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/1.549, allocations: 4.062 kB / 0.9405 GB, free: 217 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/1.549, allocations: 0 / 0.9405 GB, free: 217 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/1.549, allocations: 158.1 kB / 0.9407 GB, free: 216.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.549, allocations: 4.125 kB / 0.9407 GB, free: 216.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.903e-05/1.55, allocations: 23.92 kB / 0.9407 GB, free: 216.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.55, allocations: 4 kB / 0.9407 GB, free: 216.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/1.55, allocations: 0 / 0.9407 GB, free: 216.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.55, allocations: 0 / 0.9407 GB, free: 216.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.55, allocations: 11.89 kB / 0.9407 GB, free: 216.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/1.55, allocations: 337.5 kB / 0.9411 GB, free: 216.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/1.55, allocations: 89.05 kB / 0.9411 GB, free: 216.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/1.55, allocations: 3.953 kB / 0.9411 GB, free: 216.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/1.55, allocations: 0 / 0.9411 GB, free: 216.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/1.55, allocations: 15.92 kB / 0.9412 GB, free: 216.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/1.55, allocations: 4 kB / 0.9412 GB, free: 216.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.698e-05/1.55, allocations: 79.28 kB / 0.9412 GB, free: 216.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/1.55, allocations: 0 / 0.9412 GB, free: 216.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002837/1.55, allocations: 12 kB / 0.9412 GB, free: 216.2 MB / 0.6355 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003731/1.551, allocations: 1.019 MB / 0.9422 GB, free: 215.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.5e-05/1.551, allocations: 39.88 kB / 0.9423 GB, free: 215.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.551, allocations: 0 / 0.9423 GB, free: 215.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.73e-05/1.551, allocations: 16.25 kB / 0.9423 GB, free: 215.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/1.551, allocations: 13.33 kB / 0.9423 GB, free: 215.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006214/1.552, allocations: 315.8 kB / 0.9426 GB, free: 214.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/1.552, allocations: 0.6846 MB / 0.9433 GB, free: 214 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.4e-05/1.552, allocations: 11.98 kB / 0.9433 GB, free: 214 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/1.552, allocations: 15.44 kB / 0.9433 GB, free: 214 MB / 0.6355 GB Notification: Performance of SimCode: time 2.7e-07/1.552, allocations: 0 / 0.9433 GB, free: 214 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0195/1.571, allocations: 1.11 MB / 0.9444 GB, free: 212.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/1.572, allocations: 185 kB / 0.9446 GB, free: 212.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.52/3.092, allocations: 0 / 0.9446 GB, free: 212.7 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)