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.681/1.681, allocations: 289.7 MB / 302.2 MB, free: 2.188 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.00107/0.00107, allocations: 180.5 kB / 371.6 MB, free: 3.395 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.821/1.821, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0009633/0.0009631, allocations: 87.3 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.876e-05/3.878e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3215, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.177/1.499, allocations: 367.9 MB / 1.339 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/1.499, allocations: 66.22 kB / 1.339 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.03206/1.531, allocations: 13.04 MB / 1.352 GB, free: 1.941 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.913e-06/1.531, allocations: 0 / 1.352 GB, free: 1.941 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.272e-06/1.531, allocations: 1.688 kB / 1.352 GB, free: 1.941 MB / 0.9167 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.0003359/1.532, allocations: 342.2 kB / 1.352 GB, free: 1.566 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/1.532, allocations: 11.97 kB / 1.352 GB, free: 1.555 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.553e-05/1.532, allocations: 34.56 kB / 1.352 GB, free: 1.512 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/1.532, allocations: 11.75 kB / 1.352 GB, free: 1.504 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/1.532, allocations: 170.3 kB / 1.353 GB, free: 1.301 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/1.532, allocations: 3.812 kB / 1.353 GB, free: 1.301 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/1.532, allocations: 4 kB / 1.353 GB, free: 1.297 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/1.532, allocations: 53.42 kB / 1.353 GB, free: 1.246 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/1.532, allocations: 0 / 1.353 GB, free: 1.246 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/1.532, allocations: 4 kB / 1.353 GB, free: 1.242 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/1.532, allocations: 3.938 kB / 1.353 GB, free: 1.238 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.121e-05/1.532, allocations: 23.73 kB / 1.353 GB, free: 1.219 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/1.532, allocations: 170.9 kB / 1.353 GB, free: 1.012 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.38e-05/1.533, allocations: 49.06 kB / 1.353 GB, free: 0.9609 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.41e-05/1.533, allocations: 12.17 kB / 1.353 GB, free: 0.9492 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007764/1.533, allocations: 0.6175 MB / 1.353 GB, free: 244 kB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/1.533, allocations: 39.12 kB / 1.353 GB, free: 200 kB / 0.9167 GB Notification: Performance of pre-optimization done (n=5): time 2.785e-06/1.533, allocations: 0 / 1.353 GB, free: 200 kB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0006064/1.534, allocations: 296.6 kB / 1.354 GB, free: 15.87 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/1.534, allocations: 57.56 kB / 1.354 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.908e-05/1.534, allocations: 96.36 kB / 1.354 GB, free: 15.71 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/1.534, allocations: 25.7 kB / 1.354 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/1.534, allocations: 90.86 kB / 1.354 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/1.534, allocations: 30.52 kB / 1.354 GB, free: 15.56 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/1.534, allocations: 2.938 kB / 1.354 GB, free: 15.56 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001075/1.534, allocations: 318.2 kB / 1.354 GB, free: 15.24 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/1.534, allocations: 8 kB / 1.354 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-05/1.534, allocations: 47.66 kB / 1.354 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.355e-05/1.535, allocations: 27.11 kB / 1.354 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/1.535, allocations: 0 / 1.354 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001356/1.535, allocations: 92.89 kB / 1.355 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/1.535, allocations: 8 kB / 1.355 GB, free: 15.06 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.535, allocations: 0 / 1.355 GB, free: 15.06 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/1.535, allocations: 8.406 kB / 1.355 GB, free: 15.05 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.895e-05/1.535, allocations: 28.19 kB / 1.355 GB, free: 15.03 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/1.535, allocations: 0 / 1.355 GB, free: 15.03 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.639e-05/1.535, allocations: 4 kB / 1.355 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/1.535, allocations: 4 kB / 1.355 GB, free: 15.02 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 () * 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.471e-05/1.535, allocations: 108.2 kB / 1.355 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/1.535, allocations: 7.984 kB / 1.355 GB, free: 14.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.903e-05/1.535, allocations: 11.41 kB / 1.355 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/1.535, allocations: 0 / 1.355 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.535, allocations: 13.55 kB / 1.355 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/1.535, allocations: 3.984 kB / 1.355 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/1.535, allocations: 168.1 kB / 1.355 GB, free: 14.67 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.535, allocations: 3.984 kB / 1.355 GB, free: 14.67 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.637e-05/1.535, allocations: 15.31 kB / 1.355 GB, free: 14.66 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/1.535, allocations: 1 kB / 1.355 GB, free: 14.66 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/1.535, allocations: 0 / 1.355 GB, free: 14.66 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/1.535, allocations: 4 kB / 1.355 GB, free: 14.65 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.535, allocations: 0 / 1.355 GB, free: 14.65 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/1.536, allocations: 178.7 kB / 1.355 GB, free: 14.47 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.605e-05/1.536, allocations: 81.11 kB / 1.355 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/1.536, allocations: 0 / 1.355 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/1.536, allocations: 12.78 kB / 1.355 GB, free: 14.37 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/1.536, allocations: 3.984 kB / 1.355 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/1.536, allocations: 4 kB / 1.355 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 3.634e-05/1.536, allocations: 75.28 kB / 1.355 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.5e-07/1.536, allocations: 4 kB / 1.355 GB, free: 14.28 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002306/1.536, allocations: 15.27 kB / 1.355 GB, free: 14.27 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 () * 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.0005424/1.537, allocations: 0.7343 MB / 1.356 GB, free: 13.53 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001165/1.537, allocations: 38.56 kB / 1.356 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.537, allocations: 1.688 kB / 1.356 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 2.769e-05/1.537, allocations: 15.19 kB / 1.356 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/1.537, allocations: 8.797 kB / 1.356 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007511/1.538, allocations: 321 kB / 1.356 GB, free: 13.16 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/1.538, allocations: 0.6926 MB / 1.357 GB, free: 12.44 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 5.949e-05/1.538, allocations: 4 kB / 1.357 GB, free: 12.43 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/1.538, allocations: 15 kB / 1.357 GB, free: 12.42 MB / 0.9323 GB Notification: Performance of SimCode: time 6.91e-07/1.538, allocations: 4 kB / 1.357 GB, free: 12.42 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/1.553, allocations: 1.829 MB / 1.359 GB, free: 10.75 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/1.554, allocations: 147.9 kB / 1.359 GB, free: 10.53 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/3.171, allocations: 0 / 1.359 GB, free: 10.53 MB / 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)