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.539/2.539, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001413/0.001413, allocations: 188.8 kB / 360.6 MB, free: 7.262 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.233/2.233, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001131/0.00113, allocations: 96 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.534e-05/1.529e-05, allocations: 0 / 0.8508 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8471/0.8471, allocations: 115.2 MB / 0.9634 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.335/2.182, allocations: 366.1 MB / 1.321 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/2.183, allocations: 68.05 kB / 1.321 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04467/2.227, allocations: 12.99 MB / 1.334 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.983e-06/2.227, allocations: 0 / 1.334 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.622e-06/2.227, allocations: 0 / 1.334 GB, free: 181.4 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.0003202/2.228, allocations: 343.2 kB / 1.334 GB, free: 181 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/2.228, allocations: 7.812 kB / 1.334 GB, free: 181 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/2.228, allocations: 7.812 kB / 1.334 GB, free: 181 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.567e-05/2.228, allocations: 170.3 kB / 1.334 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/2.228, allocations: 3.906 kB / 1.334 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/2.228, allocations: 4 kB / 1.334 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001151/2.228, allocations: 19.55 kB / 1.334 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/2.228, allocations: 49.2 kB / 1.334 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/2.228, allocations: 0 / 1.334 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/2.228, allocations: 3.938 kB / 1.334 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/2.228, allocations: 0 / 1.334 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/2.229, allocations: 148.5 kB / 1.334 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.147e-05/2.229, allocations: 43.38 kB / 1.334 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/2.229, allocations: 20.39 kB / 1.334 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008254/2.23, allocations: 0.6039 MB / 1.335 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/2.23, allocations: 38.17 kB / 1.335 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.783e-06/2.23, allocations: 0 / 1.335 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0005669/2.23, allocations: 284.2 kB / 1.335 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/2.23, allocations: 57.09 kB / 1.335 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.804e-05/2.23, allocations: 88.38 kB / 1.336 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/2.23, allocations: 29.61 kB / 1.336 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.131e-05/2.23, allocations: 84.05 kB / 1.336 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/2.23, allocations: 27.23 kB / 1.336 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/2.23, allocations: 0 / 1.336 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.237e-05/2.231, allocations: 322.5 kB / 1.336 GB, free: 179 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.142e-05/2.231, allocations: 11.22 kB / 1.336 GB, free: 179 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-05/2.231, allocations: 47.88 kB / 1.336 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.007e-05/2.231, allocations: 15.77 kB / 1.336 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/2.231, allocations: 7.938 kB / 1.336 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001541/2.231, allocations: 72.38 kB / 1.336 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/2.231, allocations: 11.8 kB / 1.336 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/2.231, allocations: 0 / 1.336 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/2.231, allocations: 3.906 kB / 1.336 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/2.231, allocations: 23.19 kB / 1.336 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/2.231, allocations: 7.859 kB / 1.336 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.68e-05/2.231, allocations: 3.562 kB / 1.336 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/2.231, allocations: 4.188 kB / 1.336 GB, free: 178.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.439e-05/2.231, allocations: 112.9 kB / 1.336 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001084/2.231, allocations: 55.02 kB / 1.336 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/2.231, allocations: 3.906 kB / 1.336 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/2.232, allocations: 23.62 kB / 1.336 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/2.232, allocations: 3.953 kB / 1.336 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/2.232, allocations: 0 / 1.336 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/2.232, allocations: 0 / 1.336 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/2.232, allocations: 149.4 kB / 1.336 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/2.232, allocations: 0 / 1.336 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/2.232, allocations: 15.72 kB / 1.337 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/2.232, allocations: 0 / 1.337 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/2.232, allocations: 3.969 kB / 1.337 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/2.232, allocations: 0 / 1.337 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/2.232, allocations: 0 / 1.337 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/2.232, allocations: 176.3 kB / 1.337 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/2.232, allocations: 81.02 kB / 1.337 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/2.232, allocations: 3.906 kB / 1.337 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/2.233, allocations: 8.031 kB / 1.337 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/2.233, allocations: 3.969 kB / 1.337 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/2.233, allocations: 3.75 kB / 1.337 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.512e-05/2.233, allocations: 83.17 kB / 1.337 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.91e-07/2.233, allocations: 0 / 1.337 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000332/2.233, allocations: 11.69 kB / 1.337 GB, free: 178.2 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.0004269/2.233, allocations: 0.716 MB / 1.338 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000146/2.234, allocations: 38.38 kB / 1.338 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/2.234, allocations: 0 / 1.338 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.369e-05/2.234, allocations: 11.38 kB / 1.338 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/2.234, allocations: 6.984 kB / 1.338 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008588/2.235, allocations: 310.3 kB / 1.338 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/2.235, allocations: 0.692 MB / 1.339 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.949e-05/2.235, allocations: 15.83 kB / 1.339 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/2.235, allocations: 16.47 kB / 1.339 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of SimCode: time 7.82e-07/2.235, allocations: 0 / 1.339 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03679/2.272, allocations: 1.288 MB / 1.34 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003045/2.272, allocations: 140.8 kB / 1.34 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/4.614, allocations: 2.375 kB / 1.34 GB, free: 175.7 MB / 0.8542 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)