Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.997/1.997, allocations: 292.6 MB / 307.5 MB, free: 5.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00137/0.00137, allocations: 193 kB / 377.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.867/1.867, allocations: 205.4 MB / 0.6366 GB, free: 9.48 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 90.95 kB / 0.7509 GB, free: 62.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003773, allocations: 8 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2928, allocations: 116.3 MB / 0.9884 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.12/1.413, allocations: 368 MB / 1.348 GB, free: 6.258 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/1.413, allocations: 72.45 kB / 1.348 GB, free: 6.188 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.03277/1.446, allocations: 13.09 MB / 1.361 GB, free: 9.125 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.355e-06/1.446, allocations: 0 / 1.361 GB, free: 9.125 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.093e-06/1.446, allocations: 0 / 1.361 GB, free: 9.125 MB / 0.9323 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.0004313/1.447, allocations: 348.1 kB / 1.361 GB, free: 8.738 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/1.447, allocations: 13.42 kB / 1.361 GB, free: 8.727 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/1.447, allocations: 38.56 kB / 1.361 GB, free: 8.68 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/1.447, allocations: 7.406 kB / 1.361 GB, free: 8.676 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/1.447, allocations: 170.9 kB / 1.361 GB, free: 8.469 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/1.447, allocations: 9.172 kB / 1.361 GB, free: 8.461 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/1.447, allocations: 8 kB / 1.361 GB, free: 8.453 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/1.447, allocations: 50.61 kB / 1.361 GB, free: 8.398 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/1.447, allocations: 7.922 kB / 1.361 GB, free: 8.391 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/1.447, allocations: 10.28 kB / 1.361 GB, free: 8.383 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/1.447, allocations: 0 / 1.361 GB, free: 8.383 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.655e-05/1.447, allocations: 19.98 kB / 1.361 GB, free: 8.363 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/1.447, allocations: 165.6 kB / 1.361 GB, free: 8.152 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 9.444e-05/1.448, allocations: 50.55 kB / 1.362 GB, free: 8.094 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000757/1.448, allocations: 0.5988 MB / 1.362 GB, free: 7.387 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/1.448, allocations: 39.06 kB / 1.362 GB, free: 7.34 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/1.448, allocations: 0.75 kB / 1.362 GB, free: 7.34 MB / 0.9323 GB Notification: Performance of matching and sorting (n=7): time 0.0006314/1.449, allocations: 304.1 kB / 1.362 GB, free: 6.992 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/1.449, allocations: 51.41 kB / 1.362 GB, free: 6.93 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.061e-05/1.449, allocations: 93 kB / 1.363 GB, free: 6.832 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/1.449, allocations: 25.7 kB / 1.363 GB, free: 6.801 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/1.449, allocations: 88.05 kB / 1.363 GB, free: 6.711 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/1.449, allocations: 31.64 kB / 1.363 GB, free: 6.68 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/1.449, allocations: 5.312 kB / 1.363 GB, free: 6.676 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.449, allocations: 310.8 kB / 1.363 GB, free: 6.363 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.129e-05/1.449, allocations: 15.98 kB / 1.363 GB, free: 6.348 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.344e-05/1.449, allocations: 49.14 kB / 1.363 GB, free: 6.281 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.33e-05/1.45, allocations: 23.94 kB / 1.363 GB, free: 6.258 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/1.45, allocations: 4 kB / 1.363 GB, free: 6.254 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001458/1.45, allocations: 93.45 kB / 1.363 GB, free: 6.156 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.45, allocations: 4 kB / 1.363 GB, free: 6.152 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.45, allocations: 1.75 kB / 1.363 GB, free: 6.152 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/1.45, allocations: 7.938 kB / 1.363 GB, free: 6.145 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.257e-05/1.45, allocations: 24.11 kB / 1.363 GB, free: 6.121 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/1.45, allocations: 11.95 kB / 1.363 GB, free: 6.109 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.118e-05/1.45, allocations: 0 / 1.363 GB, free: 6.109 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/1.45, allocations: 7.938 kB / 1.363 GB, free: 6.102 MB / 0.9323 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.015e-05/1.45, allocations: 115 kB / 1.363 GB, free: 5.98 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/1.45, allocations: 4 kB / 1.363 GB, free: 5.977 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/1.45, allocations: 7.969 kB / 1.363 GB, free: 5.973 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/1.45, allocations: 0 / 1.363 GB, free: 5.973 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.45, allocations: 0 / 1.363 GB, free: 5.973 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/1.45, allocations: 11.94 kB / 1.363 GB, free: 5.961 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/1.45, allocations: 173.7 kB / 1.364 GB, free: 5.742 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.45, allocations: 3.984 kB / 1.364 GB, free: 5.738 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.338e-05/1.45, allocations: 16 kB / 1.364 GB, free: 5.723 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/1.45, allocations: 288 / 1.364 GB, free: 5.723 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/1.451, allocations: 1 kB / 1.364 GB, free: 5.723 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/1.451, allocations: 0 / 1.364 GB, free: 5.723 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.451, allocations: 1.406 kB / 1.364 GB, free: 5.723 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/1.451, allocations: 184.2 kB / 1.364 GB, free: 5.527 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-05/1.451, allocations: 85.14 kB / 1.364 GB, free: 5.426 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/1.451, allocations: 4 kB / 1.364 GB, free: 5.422 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-05/1.451, allocations: 4 kB / 1.364 GB, free: 5.418 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.081e-05/1.451, allocations: 4.875 kB / 1.364 GB, free: 5.414 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/1.451, allocations: 0 / 1.364 GB, free: 5.414 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 4.547e-05/1.451, allocations: 83.27 kB / 1.364 GB, free: 5.332 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.01e-07/1.451, allocations: 0 / 1.364 GB, free: 5.332 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002579/1.451, allocations: 16 kB / 1.364 GB, free: 5.316 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0006226/1.452, allocations: 0.7316 MB / 1.365 GB, free: 4.559 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001462/1.452, allocations: 43.95 kB / 1.365 GB, free: 4.516 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.452, allocations: 0 / 1.365 GB, free: 4.516 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 2.761e-05/1.452, allocations: 19.92 kB / 1.365 GB, free: 4.496 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/1.452, allocations: 8.656 kB / 1.365 GB, free: 4.488 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/1.454, allocations: 1.436 MB / 1.366 GB, free: 2.992 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/1.454, allocations: 0.6887 MB / 1.367 GB, free: 2.277 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 6.566e-05/1.454, allocations: 4 kB / 1.367 GB, free: 2.273 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/1.454, allocations: 15.5 kB / 1.367 GB, free: 2.258 MB / 0.9323 GB Notification: Performance of SimCode: time 5.61e-07/1.454, allocations: 0 / 1.367 GB, free: 2.258 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/1.47, allocations: 1.77 MB / 1.369 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/1.47, allocations: 187.2 kB / 1.369 GB, free: 404 kB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/3.246, allocations: 4 kB / 1.369 GB, free: 400 kB / 0.9323 GB (rm -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)