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.813/0.813, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001969/0.00197, allocations: 175.8 kB / 169.7 MB, free: 1.75 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.1 MB / 404.5 MB, free: 1.598 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.0009417/0.0009417, allocations: 97.77 kB / 481.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.569e-05/4.607e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.171, allocations: 76.76 MB / 0.6283 GB, free: 9.934 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.281/1.452, allocations: 316.1 MB / 0.937 GB, free: 182.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/1.452, allocations: 85.52 kB / 0.9371 GB, free: 182.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01706/1.469, allocations: 8.39 MB / 0.9453 GB, free: 180.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.463e-06/1.469, allocations: 0 / 0.9453 GB, free: 180.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.592e-06/1.469, allocations: 0 / 0.9453 GB, free: 180.4 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.0002768/1.469, allocations: 345.5 kB / 0.9456 GB, free: 180.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/1.469, allocations: 11.81 kB / 0.9456 GB, free: 180.1 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.241e-05/1.469, allocations: 34.56 kB / 0.9456 GB, free: 180 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/1.47, allocations: 19.31 kB / 0.9457 GB, free: 180 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.79e-05/1.47, allocations: 159.1 kB / 0.9458 GB, free: 179.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/1.47, allocations: 3.938 kB / 0.9458 GB, free: 179.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/1.47, allocations: 16.12 kB / 0.9458 GB, free: 179.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/1.47, allocations: 70.94 kB / 0.9459 GB, free: 179.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/1.47, allocations: 0 / 0.9459 GB, free: 179.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/1.47, allocations: 0 / 0.9459 GB, free: 179.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/1.47, allocations: 7.906 kB / 0.9459 GB, free: 179.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.225e-05/1.47, allocations: 19.69 kB / 0.9459 GB, free: 179.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/1.471, allocations: 463.7 kB / 0.9464 GB, free: 179.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/1.471, allocations: 78.83 kB / 0.9464 GB, free: 179.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.496e-05/1.471, allocations: 18.52 kB / 0.9465 GB, free: 179.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/1.471, allocations: 7.5 kB / 0.9465 GB, free: 179.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/1.471, allocations: 38.5 kB / 0.9465 GB, free: 179.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/1.471, allocations: 4 kB / 0.9465 GB, free: 179.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0006151/1.471, allocations: 293.9 kB / 0.9468 GB, free: 178.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/1.471, allocations: 110.7 kB / 0.9469 GB, free: 178.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.373e-05/1.472, allocations: 96.27 kB / 0.947 GB, free: 178.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/1.472, allocations: 25.7 kB / 0.947 GB, free: 178.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/1.472, allocations: 95.52 kB / 0.9471 GB, free: 178.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/1.472, allocations: 22.56 kB / 0.9471 GB, free: 178.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-06/1.472, allocations: 3.688 kB / 0.9471 GB, free: 178.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.472, allocations: 314.8 kB / 0.9474 GB, free: 178.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.512e-05/1.472, allocations: 11.59 kB / 0.9474 GB, free: 178.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.495e-05/1.472, allocations: 51.5 kB / 0.9475 GB, free: 178.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.308e-05/1.472, allocations: 19.02 kB / 0.9475 GB, free: 178.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.472, allocations: 3.969 kB / 0.9475 GB, free: 178.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000155/1.472, allocations: 94.7 kB / 0.9476 GB, free: 178 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/1.472, allocations: 7.812 kB / 0.9476 GB, free: 178 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/1.472, allocations: 3.953 kB / 0.9476 GB, free: 178 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/1.472, allocations: 8.031 kB / 0.9476 GB, free: 178 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.69e-05/1.472, allocations: 19.7 kB / 0.9476 GB, free: 178 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/1.472, allocations: 0 / 0.9476 GB, free: 178 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.144e-05/1.472, allocations: 7.469 kB / 0.9476 GB, free: 178 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/1.472, allocations: 3.906 kB / 0.9476 GB, free: 178 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 7.141e-05/1.472, allocations: 112.3 kB / 0.9477 GB, free: 177.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/1.473, allocations: 0 / 0.9477 GB, free: 177.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/1.473, allocations: 10.47 kB / 0.9478 GB, free: 177.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/1.473, allocations: 4.422 kB / 0.9478 GB, free: 177.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/1.473, allocations: 4 kB / 0.9478 GB, free: 177.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/1.473, allocations: 7.891 kB / 0.9478 GB, free: 177.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/1.473, allocations: 180.4 kB / 0.9479 GB, free: 177.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/1.473, allocations: 0 / 0.9479 GB, free: 177.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.801e-05/1.473, allocations: 15.44 kB / 0.948 GB, free: 177.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/1.473, allocations: 3.984 kB / 0.948 GB, free: 177.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/1.473, allocations: 3.938 kB / 0.948 GB, free: 177.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/1.473, allocations: 7.875 kB / 0.948 GB, free: 177.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.473, allocations: 3.953 kB / 0.948 GB, free: 177.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/1.473, allocations: 353.4 kB / 0.9483 GB, free: 177.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/1.473, allocations: 84.97 kB / 0.9484 GB, free: 177.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/1.473, allocations: 4.031 kB / 0.9484 GB, free: 177.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/1.474, allocations: 3.906 kB / 0.9484 GB, free: 177.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/1.474, allocations: 7.531 kB / 0.9484 GB, free: 177.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/1.474, allocations: 7.906 kB / 0.9484 GB, free: 177.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.521e-05/1.474, allocations: 75.28 kB / 0.9485 GB, free: 177.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/1.474, allocations: 0 / 0.9485 GB, free: 177.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003241/1.474, allocations: 18.67 kB / 0.9485 GB, free: 177.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.0005202/1.475, allocations: 1.035 MB / 0.9495 GB, free: 176.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001268/1.475, allocations: 42 kB / 0.9496 GB, free: 176.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.475, allocations: 3.938 kB / 0.9496 GB, free: 176.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.351e-05/1.475, allocations: 19.31 kB / 0.9496 GB, free: 176.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/1.475, allocations: 5.703 kB / 0.9496 GB, free: 176.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007136/1.476, allocations: 316.9 kB / 0.9499 GB, free: 175.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/1.476, allocations: 0.6884 MB / 0.9506 GB, free: 175.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001111/1.476, allocations: 7.875 kB / 0.9506 GB, free: 175.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/1.476, allocations: 14.94 kB / 0.9506 GB, free: 175.1 MB / 0.6355 GB Notification: Performance of SimCode: time 3.81e-07/1.476, allocations: 0 / 0.9506 GB, free: 175.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01401/1.49, allocations: 1.483 MB / 0.952 GB, free: 174.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/1.49, allocations: 191.5 kB / 0.9522 GB, free: 174.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/3.083, allocations: 2.391 kB / 0.9522 GB, free: 174.3 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)