Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.431/2.431, allocations: 248.7 MB / 256.2 MB, free: 7.078 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001492/0.001492, allocations: 170.9 kB / 315.4 MB, free: 4 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.3 MB / 0.5662 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 95.44 kB / 0.6704 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.96e-05/1.971e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2071, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.206/1.413, allocations: 359.5 MB / 1.235 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/1.413, allocations: 69.84 kB / 1.235 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04617/1.459, allocations: 12.65 MB / 1.248 GB, free: 1.391 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.413e-06/1.459, allocations: 0 / 1.248 GB, free: 1.391 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.352e-06/1.459, allocations: 4 kB / 1.248 GB, free: 1.387 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.0004115/1.46, allocations: 348.5 kB / 1.248 GB, free: 1.008 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/1.46, allocations: 8.031 kB / 1.248 GB, free: 1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/1.46, allocations: 7.953 kB / 1.248 GB, free: 0.9922 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/1.46, allocations: 163 kB / 1.248 GB, free: 0.793 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/1.46, allocations: 0 / 1.248 GB, free: 0.793 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/1.46, allocations: 7.984 kB / 1.248 GB, free: 0.7852 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.95e-05/1.46, allocations: 19 kB / 1.248 GB, free: 0.7695 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/1.46, allocations: 57.28 kB / 1.248 GB, free: 0.7109 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/1.46, allocations: 0 / 1.248 GB, free: 0.7109 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/1.461, allocations: 0 / 1.248 GB, free: 0.7109 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/1.461, allocations: 0 / 1.248 GB, free: 0.7109 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/1.461, allocations: 145.5 kB / 1.248 GB, free: 0.5352 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/1.461, allocations: 45.75 kB / 1.248 GB, free: 500 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.809e-05/1.461, allocations: 12.86 kB / 1.248 GB, free: 484 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6237/2.085, allocations: 0.6139 MB / 1.249 GB, free: 312 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/2.085, allocations: 33.83 kB / 1.249 GB, free: 312 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 4.94e-06/2.085, allocations: 0 / 1.249 GB, free: 312 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0007658/2.085, allocations: 280.5 kB / 1.249 GB, free: 311.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/2.086, allocations: 55.59 kB / 1.249 GB, free: 311.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.578e-05/2.086, allocations: 94.47 kB / 1.249 GB, free: 311.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/2.086, allocations: 26.23 kB / 1.249 GB, free: 311.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.052e-05/2.086, allocations: 87.22 kB / 1.25 GB, free: 311.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/2.086, allocations: 25.55 kB / 1.25 GB, free: 311.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/2.086, allocations: 0.8125 kB / 1.25 GB, free: 311.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.345e-05/2.086, allocations: 317.4 kB / 1.25 GB, free: 311.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.449e-05/2.086, allocations: 12.12 kB / 1.25 GB, free: 311.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.853e-05/2.086, allocations: 48.02 kB / 1.25 GB, free: 311.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.387e-05/2.086, allocations: 21.45 kB / 1.25 GB, free: 311.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/2.086, allocations: 4.734 kB / 1.25 GB, free: 311.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002424/2.086, allocations: 82.44 kB / 1.25 GB, free: 311 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/2.086, allocations: 5.219 kB / 1.25 GB, free: 311 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/2.086, allocations: 1.812 kB / 1.25 GB, free: 311 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/2.086, allocations: 2.656 kB / 1.25 GB, free: 311 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/2.087, allocations: 27.41 kB / 1.25 GB, free: 311 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/2.087, allocations: 2.859 kB / 1.25 GB, free: 311 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.406e-05/2.087, allocations: 3.844 kB / 1.25 GB, free: 311 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/2.087, allocations: 4.344 kB / 1.25 GB, free: 311 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 8.527e-05/2.087, allocations: 105 kB / 1.25 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001576/2.087, allocations: 57.83 kB / 1.25 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/2.087, allocations: 3.516 kB / 1.25 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.807e-05/2.087, allocations: 9.094 kB / 1.25 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.882e-06/2.087, allocations: 4.188 kB / 1.25 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/2.087, allocations: 3.375 kB / 1.25 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/2.087, allocations: 1.469 kB / 1.25 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/2.088, allocations: 156.7 kB / 1.25 GB, free: 310.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/2.088, allocations: 0.5938 kB / 1.25 GB, free: 310.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/2.088, allocations: 12.97 kB / 1.25 GB, free: 310.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/2.088, allocations: 0.6562 kB / 1.25 GB, free: 310.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/2.088, allocations: 3.031 kB / 1.25 GB, free: 310.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/2.088, allocations: 0.6875 kB / 1.25 GB, free: 310.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/2.088, allocations: 0 / 1.25 GB, free: 310.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/2.088, allocations: 166.8 kB / 1.251 GB, free: 310.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/2.088, allocations: 89.28 kB / 1.251 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/2.088, allocations: 5.188 kB / 1.251 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/2.088, allocations: 2.438 kB / 1.251 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/2.088, allocations: 3.984 kB / 1.251 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/2.088, allocations: 6.219 kB / 1.251 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.353e-05/2.088, allocations: 81.44 kB / 1.251 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.31e-07/2.088, allocations: 0.9375 kB / 1.251 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003972/2.089, allocations: 10.84 kB / 1.251 GB, free: 310.4 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.0005841/2.09, allocations: 0.7272 MB / 1.251 GB, free: 309.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001773/2.09, allocations: 32.42 kB / 1.252 GB, free: 309.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/2.09, allocations: 3.141 kB / 1.252 GB, free: 309.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.672e-05/2.09, allocations: 19.38 kB / 1.252 GB, free: 309.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/2.09, allocations: 6.453 kB / 1.252 GB, free: 309.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/2.091, allocations: 311.7 kB / 1.252 GB, free: 309.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/2.091, allocations: 0.6868 MB / 1.252 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001079/2.091, allocations: 9.5 kB / 1.253 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.151e-05/2.091, allocations: 14.92 kB / 1.253 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.002e-06/2.091, allocations: 0 / 1.253 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03774/2.129, allocations: 1.294 MB / 1.254 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002705/2.13, allocations: 139.4 kB / 1.254 GB, free: 308.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.248/4.377, allocations: 0 / 1.254 GB, free: 308.6 MB / 0.8542 GB