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.7374/0.7374, allocations: 128.7 MB / 143.7 MB, free: 2.324 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.001104/0.001104, allocations: 178.3 kB / 173.7 MB, free: 6.129 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.672/1.672, allocations: 205.4 MB / 409 MB, free: 10.51 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.0009217/0.0009218, allocations: 88.66 kB / 486.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.00033, allocations: 7.312 kB / 0.5604 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1755, allocations: 76.77 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7427/0.9183, allocations: 316.2 MB / 0.9442 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003458/0.9187, allocations: 79.2 kB / 0.9443 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01973/0.9385, allocations: 8.433 MB / 0.9525 GB, free: 1.871 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9385, allocations: 0 / 0.9525 GB, free: 1.871 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.9386, allocations: 0 / 0.9525 GB, free: 1.871 MB / 0.6198 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.0003819/0.9389, allocations: 358.8 kB / 0.9529 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.939, allocations: 8.031 kB / 0.9529 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.465e-05/0.939, allocations: 38.19 kB / 0.9529 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.9392, allocations: 16.72 kB / 0.9529 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.9394, allocations: 163 kB / 0.9531 GB, free: 1.211 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.9394, allocations: 8 kB / 0.9531 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.9394, allocations: 7.406 kB / 0.9531 GB, free: 1.199 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.9396, allocations: 71.38 kB / 0.9532 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.9396, allocations: 7.938 kB / 0.9532 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.9396, allocations: 0 / 0.9532 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.9396, allocations: 0 / 0.9532 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.061e-05/0.9397, allocations: 23.5 kB / 0.9532 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006333/0.9403, allocations: 461.9 kB / 0.9537 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.9405, allocations: 75.31 kB / 0.9537 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.9405, allocations: 0 / 0.9537 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.9405, allocations: 38 kB / 0.9538 GB, free: 460 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.9405, allocations: 4 kB / 0.9538 GB, free: 456 kB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006113/0.9412, allocations: 303.6 kB / 0.9541 GB, free: 120 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/0.9412, allocations: 106.8 kB / 0.9542 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.754e-05/0.9413, allocations: 92.44 kB / 0.9542 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.9413, allocations: 25.7 kB / 0.9543 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.9414, allocations: 87.73 kB / 0.9544 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.9414, allocations: 35.38 kB / 0.9544 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.9414, allocations: 0 / 0.9544 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.9416, allocations: 318.4 kB / 0.9547 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.712e-05/0.9416, allocations: 11.67 kB / 0.9547 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.881e-05/0.9417, allocations: 56.7 kB / 0.9548 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.799e-05/0.9417, allocations: 23.7 kB / 0.9548 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.9417, allocations: 0 / 0.9548 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001331/0.9418, allocations: 99.56 kB / 0.9549 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.9419, allocations: 8 kB / 0.9549 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.9419, allocations: 0 / 0.9549 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.9419, allocations: 7.953 kB / 0.9549 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.853e-05/0.942, allocations: 19.98 kB / 0.9549 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.942, allocations: 8.062 kB / 0.9549 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.77e-05/0.9421, allocations: 7.562 kB / 0.9549 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.9421, allocations: 4 kB / 0.9549 GB, free: 15.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.166e-05/0.9422, allocations: 117.7 kB / 0.955 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.338e-05/0.9422, allocations: 0 / 0.955 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.9423, allocations: 14.73 kB / 0.9551 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.9423, allocations: 3.953 kB / 0.9551 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.9423, allocations: 0 / 0.9551 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.9423, allocations: 4 kB / 0.9551 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.9426, allocations: 181.1 kB / 0.9552 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.9426, allocations: 0 / 0.9552 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.542e-05/0.9427, allocations: 15.94 kB / 0.9553 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.9427, allocations: 4 kB / 0.9553 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.9428, allocations: 0 / 0.9553 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.9428, allocations: 0 / 0.9553 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/0.9428, allocations: 11.94 kB / 0.9553 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.9431, allocations: 340.1 kB / 0.9556 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.9431, allocations: 92.98 kB / 0.9557 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.9432, allocations: 8.016 kB / 0.9557 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.9433, allocations: 4 kB / 0.9557 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.105e-05/0.9434, allocations: 11.92 kB / 0.9557 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.9434, allocations: 3.875 kB / 0.9557 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.056e-05/0.9434, allocations: 83.28 kB / 0.9558 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9434, allocations: 0 / 0.9558 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002938/0.9437, allocations: 15.56 kB / 0.9558 GB, free: 14.24 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 () * 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 (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.0006292/0.9444, allocations: 1.034 MB / 0.9568 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.9445, allocations: 47.14 kB / 0.9569 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9445, allocations: 0 / 0.9569 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.669e-05/0.9445, allocations: 19.81 kB / 0.9569 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.9448, allocations: 8.375 kB / 0.9569 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.9462, allocations: 1.433 MB / 0.9583 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.9465, allocations: 0.6887 MB / 0.959 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.872e-05/0.9466, allocations: 11.94 kB / 0.959 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.9466, allocations: 19.3 kB / 0.959 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.9466, allocations: 0 / 0.959 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01563/0.9623, allocations: 1.469 MB / 0.9604 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/0.9625, allocations: 234.1 kB / 0.9606 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.552, allocations: 0 / 0.9606 GB, free: 9.398 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)