Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005224/0.005224, allocations: 96.7 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 197.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.809/2.809, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 63.91 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2655, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002292/0.2679, allocations: 1.254 MB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6412/0.9091, allocations: 137.7 MB / 1.356 GB, free: 7.441 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.897e-05/0.9091, allocations: 1.062 kB / 1.356 GB, free: 7.441 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.9092, allocations: 4.688 kB / 1.356 GB, free: 7.438 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.898e-05/0.9092, allocations: 6.391 kB / 1.356 GB, free: 7.434 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.9108, allocations: 464.5 kB / 1.356 GB, free: 7.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.9109, allocations: 38.53 kB / 1.356 GB, free: 7.258 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.119e-05/0.9109, allocations: 7.297 kB / 1.356 GB, free: 7.254 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.835e-05/0.911, allocations: 21.78 kB / 1.356 GB, free: 7.246 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.972e-05/0.911, allocations: 20.12 kB / 1.356 GB, free: 7.238 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.911, allocations: 1.438 kB / 1.356 GB, free: 7.238 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/0.9129, allocations: 0.8219 MB / 1.357 GB, free: 7.047 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.9129, allocations: 12.64 kB / 1.357 GB, free: 7.039 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.9129, allocations: 17.3 kB / 1.357 GB, free: 7.031 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007589/0.9137, allocations: 450.6 kB / 1.358 GB, free: 6.926 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.9137, allocations: 0 / 1.358 GB, free: 6.926 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9137, allocations: 1.625 kB / 1.358 GB, free: 6.926 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.9137, allocations: 0 / 1.358 GB, free: 6.926 MB / 1.061 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.0005972/0.9143, allocations: 372.3 kB / 1.358 GB, free: 6.551 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.9144, allocations: 13.81 kB / 1.358 GB, free: 6.547 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.52e-05/0.9144, allocations: 37.38 kB / 1.358 GB, free: 6.504 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.9146, allocations: 11.02 kB / 1.358 GB, free: 6.504 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.9147, allocations: 163.3 kB / 1.358 GB, free: 6.309 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.9148, allocations: 2.781 kB / 1.358 GB, free: 6.309 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.9148, allocations: 14.77 kB / 1.358 GB, free: 6.297 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.9149, allocations: 55.3 kB / 1.358 GB, free: 6.258 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.915, allocations: 4 kB / 1.358 GB, free: 6.254 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.915, allocations: 5.438 kB / 1.358 GB, free: 6.25 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.915, allocations: 1.562 kB / 1.358 GB, free: 6.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.661e-05/0.9151, allocations: 19.06 kB / 1.358 GB, free: 6.246 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.9152, allocations: 163.3 kB / 1.358 GB, free: 6.051 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.9154, allocations: 51.2 kB / 1.358 GB, free: 6.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.641e-05/0.9154, allocations: 25.42 kB / 1.359 GB, free: 6 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01188/0.9273, allocations: 3.219 MB / 1.362 GB, free: 5.215 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.9273, allocations: 32.62 kB / 1.362 GB, free: 5.176 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.9273, allocations: 1.062 kB / 1.362 GB, free: 5.176 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.04406/0.9714, allocations: 15 MB / 1.376 GB, free: 1.121 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.9715, allocations: 53.38 kB / 1.376 GB, free: 1.059 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.949e-05/0.9716, allocations: 95.02 kB / 1.376 GB, free: 0.957 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.9716, allocations: 27.8 kB / 1.376 GB, free: 0.9258 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.9716, allocations: 80.14 kB / 1.377 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.9717, allocations: 48.48 kB / 1.377 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.9717, allocations: 27.31 kB / 1.377 GB, free: 0.7773 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.9719, allocations: 328.7 kB / 1.377 GB, free: 460 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.648e-05/0.9719, allocations: 20.58 kB / 1.377 GB, free: 452 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.351e-05/0.972, allocations: 21.94 kB / 1.377 GB, free: 444 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.9721, allocations: 63.19 kB / 1.377 GB, free: 408 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.9721, allocations: 0 / 1.377 GB, free: 408 kB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002269/0.9724, allocations: 110.6 kB / 1.377 GB, free: 336 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.9724, allocations: 5.625 kB / 1.377 GB, free: 336 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.9724, allocations: 0 / 1.377 GB, free: 336 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.9724, allocations: 1.062 kB / 1.377 GB, free: 336 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.9725, allocations: 24.06 kB / 1.377 GB, free: 332 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.9725, allocations: 7.922 kB / 1.377 GB, free: 324 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.997e-05/0.9726, allocations: 5.219 kB / 1.377 GB, free: 320 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.9726, allocations: 8.031 kB / 1.377 GB, free: 316 kB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.777e-05/0.9727, allocations: 116.1 kB / 1.377 GB, free: 192 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.9727, allocations: 3.812 kB / 1.377 GB, free: 192 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.973, allocations: 124.1 kB / 1.377 GB, free: 100 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.973, allocations: 1.75 kB / 1.377 GB, free: 100 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.973, allocations: 3.938 kB / 1.377 GB, free: 96 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.9731, allocations: 3.938 kB / 1.377 GB, free: 92 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.9732, allocations: 181.7 kB / 1.378 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.9732, allocations: 0.875 kB / 1.378 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.9734, allocations: 24.14 kB / 1.378 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.9734, allocations: 0 / 1.378 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.9734, allocations: 7.25 kB / 1.378 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.9734, allocations: 4 kB / 1.378 GB, free: 15.86 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.9734, allocations: 0 / 1.378 GB, free: 15.86 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.9737, allocations: 160.5 kB / 1.378 GB, free: 15.74 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.623e-05/0.9738, allocations: 90.91 kB / 1.378 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.9738, allocations: 5.062 kB / 1.378 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.974, allocations: 16.27 kB / 1.378 GB, free: 15.63 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.974, allocations: 12.27 kB / 1.378 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.974, allocations: 7.812 kB / 1.378 GB, free: 15.62 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.831e-05/0.9741, allocations: 75.28 kB / 1.378 GB, free: 15.54 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9741, allocations: 1.281 kB / 1.378 GB, free: 15.54 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001546/0.9756, allocations: 0.5629 MB / 1.379 GB, free: 15.51 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003439/0.9791, allocations: 0.9363 MB / 1.379 GB, free: 14.79 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001506/0.9792, allocations: 71.8 kB / 1.38 GB, free: 14.76 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9793, allocations: 0 / 1.38 GB, free: 14.76 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.199e-05/0.9793, allocations: 38.89 kB / 1.38 GB, free: 14.74 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.9795, allocations: 8.25 kB / 1.38 GB, free: 14.74 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.9816, allocations: 1.545 MB / 1.381 GB, free: 13.35 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.9819, allocations: 0.6856 MB / 1.382 GB, free: 12.65 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.108e-05/0.982, allocations: 26.59 kB / 1.382 GB, free: 12.64 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.982, allocations: 24.44 kB / 1.382 GB, free: 12.62 MB / 1.076 GB Notification: Performance of SimCode: time 2.4e-07/0.982, allocations: 0 / 1.382 GB, free: 12.62 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05381/1.036, allocations: 25.45 MB / 1.407 GB, free: 5.98 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.237/9.273, allocations: 3.969 kB / 1.407 GB, free: 5.98 MB / 1.092 GB (rm -f Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1)