Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.659/2.659, allocations: 287.3 MB / 302.3 MB, free: 8.199 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.001517/0.001517, allocations: 183 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.125/2.125, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001214/0.001214, allocations: 97.72 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005877/0.0005878, allocations: 12.44 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2375, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.277/1.515, allocations: 366.9 MB / 1.337 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/1.515, allocations: 68.41 kB / 1.337 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04997/1.565, allocations: 13.1 MB / 1.349 GB, free: 4.203 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.645e-06/1.565, allocations: 0 / 1.349 GB, free: 4.203 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.494e-06/1.565, allocations: 0 / 1.349 GB, free: 4.203 MB / 0.8698 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.0004755/1.566, allocations: 346.4 kB / 1.35 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/1.566, allocations: 16.02 kB / 1.35 GB, free: 3.809 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.398e-05/1.566, allocations: 38.55 kB / 1.35 GB, free: 3.762 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/1.566, allocations: 4.781 kB / 1.35 GB, free: 3.758 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/1.566, allocations: 170.9 kB / 1.35 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/1.566, allocations: 3.25 kB / 1.35 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/1.566, allocations: 4 kB / 1.35 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/1.566, allocations: 52.73 kB / 1.35 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/1.566, allocations: 0 / 1.35 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/1.566, allocations: 7.938 kB / 1.35 GB, free: 3.488 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.566, allocations: 7.938 kB / 1.35 GB, free: 3.48 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.89e-05/1.567, allocations: 15.55 kB / 1.35 GB, free: 3.469 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002337/1.567, allocations: 168.3 kB / 1.35 GB, free: 3.262 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/1.567, allocations: 49.62 kB / 1.35 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/1.568, allocations: 0.5963 MB / 1.351 GB, free: 2.523 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/1.568, allocations: 38.5 kB / 1.351 GB, free: 2.477 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 5.049e-06/1.568, allocations: 3.984 kB / 1.351 GB, free: 2.473 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0008106/1.569, allocations: 305.4 kB / 1.351 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/1.569, allocations: 59.34 kB / 1.351 GB, free: 2.074 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.702e-05/1.569, allocations: 96.3 kB / 1.351 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/1.569, allocations: 25.7 kB / 1.351 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/1.569, allocations: 91.11 kB / 1.351 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/1.569, allocations: 23.05 kB / 1.351 GB, free: 1.836 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/1.569, allocations: 0 / 1.351 GB, free: 1.836 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.569, allocations: 317.7 kB / 1.352 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.351e-05/1.569, allocations: 11.56 kB / 1.352 GB, free: 1.512 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.026e-05/1.569, allocations: 53.16 kB / 1.352 GB, free: 1.449 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.729e-05/1.57, allocations: 31.05 kB / 1.352 GB, free: 1.426 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.57, allocations: 0 / 1.352 GB, free: 1.426 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002059/1.57, allocations: 90.53 kB / 1.352 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/1.57, allocations: 7.984 kB / 1.352 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/1.57, allocations: 4 kB / 1.352 GB, free: 1.332 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/1.57, allocations: 4.078 kB / 1.352 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/1.57, allocations: 24 kB / 1.352 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/1.57, allocations: 3.938 kB / 1.352 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.067e-05/1.57, allocations: 7.312 kB / 1.352 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/1.57, allocations: 7.938 kB / 1.352 GB, free: 1.289 MB / 0.8698 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 0.0001107/1.57, allocations: 115.5 kB / 1.352 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/1.57, allocations: 4 kB / 1.352 GB, free: 1.168 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.023e-05/1.57, allocations: 6.656 kB / 1.352 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.57, allocations: 4 kB / 1.352 GB, free: 1.16 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/1.57, allocations: 7.953 kB / 1.352 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/1.57, allocations: 0 / 1.352 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/1.571, allocations: 176.9 kB / 1.352 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/1.571, allocations: 0 / 1.352 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/1.571, allocations: 15.98 kB / 1.352 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.571, allocations: 0 / 1.352 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/1.571, allocations: 0 / 1.352 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/1.571, allocations: 4 kB / 1.352 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.571, allocations: 0 / 1.352 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/1.571, allocations: 177 kB / 1.352 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.335e-05/1.571, allocations: 85.14 kB / 1.353 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/1.571, allocations: 0 / 1.353 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/1.572, allocations: 3 kB / 1.353 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/1.572, allocations: 7.984 kB / 1.353 GB, free: 0.6328 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/1.572, allocations: 448 / 1.353 GB, free: 0.6328 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.015e-05/1.572, allocations: 86.48 kB / 1.353 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.572, allocations: 0 / 1.353 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003556/1.572, allocations: 19.31 kB / 1.353 GB, free: 0.5352 MB / 0.8698 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.0007545/1.573, allocations: 0.7395 MB / 1.353 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001613/1.573, allocations: 38.17 kB / 1.353 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.573, allocations: 0 / 1.353 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.654e-05/1.573, allocations: 19.81 kB / 1.353 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/1.573, allocations: 10.17 kB / 1.353 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/1.575, allocations: 1.432 MB / 1.355 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/1.576, allocations: 0.69 MB / 1.356 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.94e-05/1.576, allocations: 7.984 kB / 1.356 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/1.576, allocations: 15.06 kB / 1.356 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of SimCode: time 9.12e-07/1.576, allocations: 4 kB / 1.356 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/1.598, allocations: 1.786 MB / 1.357 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003358/1.598, allocations: 179.9 kB / 1.357 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.471/4.07, allocations: 0 / 1.357 GB, free: 11.61 MB / 0.8855 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)