Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_latest_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.007773/0.007773, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.002083/0.002083, allocations: 198.3 kB / 16.68 MB, free: 5.969 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.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.761/2.761, allocations: 472.7 MB / 0.7453 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.84 kB / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2702, allocations: 159.9 MB / 1.225 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002108/0.2724, allocations: 1.268 MB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7657/1.038, allocations: 137.7 MB / 1.361 GB, free: 1.738 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.798e-05/1.038, allocations: 1.062 kB / 1.361 GB, free: 1.738 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/1.038, allocations: 0.7031 kB / 1.361 GB, free: 1.738 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.695e-05/1.038, allocations: 10.38 kB / 1.361 GB, free: 1.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002281/1.041, allocations: 461.5 kB / 1.361 GB, free: 1.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/1.041, allocations: 39.72 kB / 1.361 GB, free: 1.559 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/1.041, allocations: 6.078 kB / 1.361 GB, free: 1.555 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.833e-05/1.041, allocations: 22.7 kB / 1.361 GB, free: 1.547 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.049e-05/1.041, allocations: 23.66 kB / 1.361 GB, free: 1.535 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/1.041, allocations: 2.156 kB / 1.361 GB, free: 1.535 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002696/1.044, allocations: 0.8214 MB / 1.362 GB, free: 1.344 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/1.044, allocations: 12.45 kB / 1.362 GB, free: 1.336 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/1.044, allocations: 21.3 kB / 1.362 GB, free: 1.324 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/1.045, allocations: 443.2 kB / 1.363 GB, free: 1.227 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/1.045, allocations: 0 / 1.363 GB, free: 1.227 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.463e-06/1.045, allocations: 0 / 1.363 GB, free: 1.227 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.054e-05/1.045, allocations: 0 / 1.363 GB, free: 1.227 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.0006077/1.046, allocations: 378 kB / 1.363 GB, free: 0.8477 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.046, allocations: 13.88 kB / 1.363 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.077e-05/1.046, allocations: 32.55 kB / 1.363 GB, free: 0.8047 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002651/1.046, allocations: 11.62 kB / 1.363 GB, free: 0.8047 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/1.046, allocations: 166.4 kB / 1.363 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/1.046, allocations: 1.688 kB / 1.363 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/1.046, allocations: 12.09 kB / 1.363 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/1.046, allocations: 53.36 kB / 1.363 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/1.046, allocations: 0.7812 kB / 1.363 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/1.046, allocations: 0.6875 kB / 1.363 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.046, allocations: 4.812 kB / 1.363 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.612e-05/1.046, allocations: 26.91 kB / 1.363 GB, free: 0.543 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/1.047, allocations: 167.8 kB / 1.363 GB, free: 352 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/1.047, allocations: 50.42 kB / 1.364 GB, free: 320 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.507e-05/1.047, allocations: 25.91 kB / 1.364 GB, free: 300 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01179/1.059, allocations: 3.198 MB / 1.367 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/1.059, allocations: 40 kB / 1.367 GB, free: 15.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/1.059, allocations: 1.344 kB / 1.367 GB, free: 15.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.04355/1.102, allocations: 15 MB / 1.381 GB, free: 11.08 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/1.102, allocations: 57.69 kB / 1.381 GB, free: 11.02 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.776e-05/1.102, allocations: 96.25 kB / 1.382 GB, free: 10.91 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/1.102, allocations: 29.7 kB / 1.382 GB, free: 10.88 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.83e-05/1.102, allocations: 80.14 kB / 1.382 GB, free: 10.8 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/1.103, allocations: 44.67 kB / 1.382 GB, free: 10.76 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/1.103, allocations: 35.83 kB / 1.382 GB, free: 10.73 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.966e-05/1.103, allocations: 321.5 kB / 1.382 GB, free: 10.41 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.4e-05/1.103, allocations: 20.56 kB / 1.382 GB, free: 10.4 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.03e-05/1.103, allocations: 28.7 kB / 1.382 GB, free: 10.38 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/1.103, allocations: 59.12 kB / 1.382 GB, free: 10.35 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/1.103, allocations: 0 / 1.382 GB, free: 10.35 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002153/1.103, allocations: 110.9 kB / 1.382 GB, free: 10.29 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.103, allocations: 5.438 kB / 1.382 GB, free: 10.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/1.103, allocations: 3.938 kB / 1.382 GB, free: 10.28 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/1.103, allocations: 2.5 kB / 1.382 GB, free: 10.28 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/1.103, allocations: 27.48 kB / 1.382 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/1.103, allocations: 0 / 1.382 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.802e-05/1.103, allocations: 1.719 kB / 1.382 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/1.103, allocations: 10.81 kB / 1.382 GB, free: 10.27 MB / 1.076 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 7.852e-05/1.103, allocations: 122.5 kB / 1.382 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/1.104, allocations: 6.453 kB / 1.382 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/1.104, allocations: 119.8 kB / 1.382 GB, free: 10.05 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/1.104, allocations: 2.5 kB / 1.382 GB, free: 10.05 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/1.104, allocations: 5.938 kB / 1.382 GB, free: 10.05 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/1.104, allocations: 0 / 1.382 GB, free: 10.05 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/1.104, allocations: 172.7 kB / 1.383 GB, free: 9.844 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/1.104, allocations: 0 / 1.383 GB, free: 9.844 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/1.104, allocations: 32.64 kB / 1.383 GB, free: 9.832 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/1.104, allocations: 0 / 1.383 GB, free: 9.832 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/1.104, allocations: 2.469 kB / 1.383 GB, free: 9.832 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/1.104, allocations: 3.938 kB / 1.383 GB, free: 9.828 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.104, allocations: 2.094 kB / 1.383 GB, free: 9.828 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/1.104, allocations: 157 kB / 1.383 GB, free: 9.711 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/1.105, allocations: 91.12 kB / 1.383 GB, free: 9.605 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/1.105, allocations: 1.719 kB / 1.383 GB, free: 9.605 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/1.105, allocations: 12.23 kB / 1.383 GB, free: 9.602 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/1.105, allocations: 12.48 kB / 1.383 GB, free: 9.594 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/1.105, allocations: 7.266 kB / 1.383 GB, free: 9.59 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.863e-05/1.105, allocations: 82.28 kB / 1.383 GB, free: 9.512 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.105, allocations: 0 / 1.383 GB, free: 9.512 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001967/1.107, allocations: 0.567 MB / 1.384 GB, free: 9.477 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.004216/1.111, allocations: 0.9283 MB / 1.385 GB, free: 8.758 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001891/1.111, allocations: 73.06 kB / 1.385 GB, free: 8.727 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.111, allocations: 0 / 1.385 GB, free: 8.727 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.946e-05/1.111, allocations: 38.17 kB / 1.385 GB, free: 8.711 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/1.111, allocations: 8.188 kB / 1.385 GB, free: 8.707 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/1.114, allocations: 1.546 MB / 1.386 GB, free: 7.324 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/1.114, allocations: 0.6871 MB / 1.387 GB, free: 6.621 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.014e-05/1.114, allocations: 22.64 kB / 1.387 GB, free: 6.609 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/1.114, allocations: 22.77 kB / 1.387 GB, free: 6.594 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/1.114, allocations: 0 / 1.387 GB, free: 6.594 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05296/1.167, allocations: 25.47 MB / 1.412 GB, free: 15.07 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.488/9.655, allocations: 7.703 kB / 1.412 GB, free: 15.07 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1)