Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.808/1.808, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001148/0.001148, allocations: 176.8 kB / 361.4 MB, free: 6.828 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.7/1.7, allocations: 205.2 MB / 0.62 GB, free: 11.68 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.0008481/0.0008484, allocations: 92.47 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.066e-05/2.06e-05, allocations: 4 kB / 0.8518 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8058/0.8059, allocations: 115.3 MB / 0.9644 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.149/1.954, allocations: 366.3 MB / 1.322 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/1.955, allocations: 72.72 kB / 1.322 GB, free: 235.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02797/1.983, allocations: 12.98 MB / 1.335 GB, free: 222.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.843e-06/1.983, allocations: 0 / 1.335 GB, free: 222.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.836e-06/1.983, allocations: 8 kB / 1.335 GB, free: 222.8 MB / 0.8542 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.0003347/1.983, allocations: 334.5 kB / 1.335 GB, free: 222.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/1.983, allocations: 8.031 kB / 1.335 GB, free: 222.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/1.983, allocations: 12.92 kB / 1.335 GB, free: 222.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/1.984, allocations: 171 kB / 1.335 GB, free: 222.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/1.984, allocations: 0 / 1.335 GB, free: 222.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/1.984, allocations: 4 kB / 1.335 GB, free: 222.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.669e-05/1.984, allocations: 16.92 kB / 1.335 GB, free: 222.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/1.984, allocations: 53.62 kB / 1.335 GB, free: 222.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/1.984, allocations: 0 / 1.335 GB, free: 222.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/1.984, allocations: 0 / 1.335 GB, free: 222.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/1.984, allocations: 3.938 kB / 1.335 GB, free: 222.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/1.984, allocations: 148.4 kB / 1.336 GB, free: 221.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.877e-05/1.984, allocations: 42.58 kB / 1.336 GB, free: 221.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.784e-05/1.984, allocations: 16.84 kB / 1.336 GB, free: 221.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008199/1.985, allocations: 0.6117 MB / 1.336 GB, free: 221.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/1.985, allocations: 34.5 kB / 1.336 GB, free: 221.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.673e-06/1.985, allocations: 0 / 1.336 GB, free: 221.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0006096/1.986, allocations: 278.2 kB / 1.337 GB, free: 220.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/1.986, allocations: 59.41 kB / 1.337 GB, free: 220.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.659e-05/1.986, allocations: 92.95 kB / 1.337 GB, free: 220.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/1.986, allocations: 25.7 kB / 1.337 GB, free: 220.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/1.986, allocations: 88.05 kB / 1.337 GB, free: 220.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/1.986, allocations: 27.64 kB / 1.337 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/1.986, allocations: 0 / 1.337 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.555e-05/1.986, allocations: 313 kB / 1.337 GB, free: 220.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.405e-05/1.986, allocations: 12 kB / 1.337 GB, free: 220.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.367e-05/1.986, allocations: 53.14 kB / 1.337 GB, free: 220.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.307e-05/1.986, allocations: 12 kB / 1.337 GB, free: 220 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/1.986, allocations: 0 / 1.337 GB, free: 220 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001163/1.986, allocations: 93.73 kB / 1.337 GB, free: 219.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/1.986, allocations: 8 kB / 1.337 GB, free: 219.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.986, allocations: 0 / 1.337 GB, free: 219.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/1.986, allocations: 0 / 1.337 GB, free: 219.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.355e-05/1.986, allocations: 27.92 kB / 1.337 GB, free: 219.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/1.986, allocations: 0 / 1.337 GB, free: 219.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.083e-05/1.987, allocations: 7.953 kB / 1.337 GB, free: 219.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/1.987, allocations: 4.938 kB / 1.337 GB, free: 219.9 MB / 0.8542 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 6.303e-05/1.987, allocations: 105 kB / 1.337 GB, free: 219.8 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.436e-05/1.987, allocations: 60.41 kB / 1.338 GB, free: 219.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/1.987, allocations: 7.906 kB / 1.338 GB, free: 219.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/1.987, allocations: 8.406 kB / 1.338 GB, free: 219.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/1.987, allocations: 3.938 kB / 1.338 GB, free: 219.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/1.987, allocations: 7.953 kB / 1.338 GB, free: 219.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.987, allocations: 3.984 kB / 1.338 GB, free: 219.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/1.987, allocations: 142.2 kB / 1.338 GB, free: 219.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.987, allocations: 2.062 kB / 1.338 GB, free: 219.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.267e-05/1.987, allocations: 19.98 kB / 1.338 GB, free: 219.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.987, allocations: 1.688 kB / 1.338 GB, free: 219.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/1.987, allocations: 0 / 1.338 GB, free: 219.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.987, allocations: 4 kB / 1.338 GB, free: 219.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/1.987, allocations: 0 / 1.338 GB, free: 219.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/1.987, allocations: 167.4 kB / 1.338 GB, free: 219.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/1.987, allocations: 89.05 kB / 1.338 GB, free: 219.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/1.987, allocations: 0 / 1.338 GB, free: 219.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.153e-05/1.987, allocations: 0 / 1.338 GB, free: 219.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/1.987, allocations: 7.984 kB / 1.338 GB, free: 219.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/1.988, allocations: 4 kB / 1.338 GB, free: 219.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.656e-05/1.988, allocations: 83.28 kB / 1.338 GB, free: 219.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.988, allocations: 0 / 1.338 GB, free: 219.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002458/1.988, allocations: 12 kB / 1.338 GB, free: 219.1 MB / 0.8542 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.0004035/1.988, allocations: 0.7135 MB / 1.339 GB, free: 218.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001251/1.988, allocations: 40.44 kB / 1.339 GB, free: 218.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/1.988, allocations: 4 kB / 1.339 GB, free: 218.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.771e-05/1.988, allocations: 16.19 kB / 1.339 GB, free: 218.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/1.989, allocations: 8.688 kB / 1.339 GB, free: 218.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006414/1.989, allocations: 315.8 kB / 1.339 GB, free: 218 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/1.989, allocations: 0.6853 MB / 1.34 GB, free: 217.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.922e-05/1.989, allocations: 11.92 kB / 1.34 GB, free: 217.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/1.99, allocations: 22.75 kB / 1.34 GB, free: 217.2 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/1.99, allocations: 0 / 1.34 GB, free: 217.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/2.01, allocations: 1.286 MB / 1.341 GB, free: 216 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/2.01, allocations: 145.4 kB / 1.341 GB, free: 215.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/3.573, allocations: 4 kB / 1.341 GB, free: 215.8 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)