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.00197/0.00197, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002198/0.002198, allocations: 190.5 kB / 16.67 MB, free: 6.582 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.438/1.438, 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 12.0.0-master/package.mo): time 2.941/2.941, allocations: 482.4 MB / 0.7548 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 68.11 kB / 1.083 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.28, allocations: 162.2 MB / 1.241 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002311/0.2824, allocations: 1.265 MB / 1.243 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6573/0.9397, allocations: 137.7 MB / 1.377 GB, free: 15.09 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/0.9398, allocations: 0 / 1.377 GB, free: 15.09 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.9398, allocations: 2.656 kB / 1.377 GB, free: 15.09 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 4.02e-05/0.9399, allocations: 4.734 kB / 1.377 GB, free: 15.08 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.9411, allocations: 461.4 kB / 1.378 GB, free: 14.92 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 7.469e-05/0.9412, allocations: 38.55 kB / 1.378 GB, free: 14.91 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 3.179e-05/0.9412, allocations: 2.109 kB / 1.378 GB, free: 14.91 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 4.776e-05/0.9413, allocations: 31.8 kB / 1.378 GB, free: 14.89 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 7.124e-05/0.9413, allocations: 18.58 kB / 1.378 GB, free: 14.89 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.9414, allocations: 1.375 kB / 1.378 GB, free: 14.89 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.9428, allocations: 0.8249 MB / 1.378 GB, free: 14.7 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.9429, allocations: 9.141 kB / 1.378 GB, free: 14.69 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 3.232e-05/0.9429, allocations: 18.08 kB / 1.378 GB, free: 14.68 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0005613/0.9435, allocations: 445.2 kB / 1.379 GB, free: 14.58 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.9435, allocations: 5.031 kB / 1.379 GB, free: 14.57 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9435, allocations: 2.109 kB / 1.379 GB, free: 14.57 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.9435, allocations: 0 / 1.379 GB, free: 14.57 MB / 1.092 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.0005082/0.944, allocations: 373.2 kB / 1.379 GB, free: 14.2 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.944, allocations: 14.22 kB / 1.379 GB, free: 14.2 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.924e-05/0.9441, allocations: 31.88 kB / 1.379 GB, free: 14.16 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.9443, allocations: 14.64 kB / 1.379 GB, free: 14.15 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.9444, allocations: 168.1 kB / 1.379 GB, free: 13.95 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.9444, allocations: 1.656 kB / 1.379 GB, free: 13.95 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.9444, allocations: 13.67 kB / 1.379 GB, free: 13.95 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.9446, allocations: 54.69 kB / 1.38 GB, free: 13.91 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.9446, allocations: 1.094 kB / 1.38 GB, free: 13.91 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.9446, allocations: 0 / 1.38 GB, free: 13.91 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.9446, allocations: 1.094 kB / 1.38 GB, free: 13.91 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.53e-05/0.9447, allocations: 25.38 kB / 1.38 GB, free: 13.89 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.9449, allocations: 167.3 kB / 1.38 GB, free: 13.7 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.945, allocations: 49.95 kB / 1.38 GB, free: 13.66 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.691e-05/0.945, allocations: 25.11 kB / 1.38 GB, free: 13.64 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01164/0.9567, allocations: 3.203 MB / 1.383 GB, free: 12.23 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.9567, allocations: 40.09 kB / 1.383 GB, free: 12.18 MB / 1.092 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.9567, allocations: 0 / 1.383 GB, free: 12.18 MB / 1.092 GB Notification: Performance of matching and sorting (n=11): time 0.04372/1, allocations: 14.99 MB / 1.398 GB, free: 7.363 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/1.001, allocations: 55.39 kB / 1.398 GB, free: 7.297 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.457e-05/1.001, allocations: 96.14 kB / 1.398 GB, free: 7.195 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/1.001, allocations: 35.86 kB / 1.398 GB, free: 7.156 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/1.001, allocations: 80.14 kB / 1.398 GB, free: 7.074 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/1.001, allocations: 44.23 kB / 1.398 GB, free: 7.035 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/1.001, allocations: 30.81 kB / 1.398 GB, free: 7.008 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.001, allocations: 321.4 kB / 1.398 GB, free: 6.688 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.576e-05/1.001, allocations: 24.98 kB / 1.398 GB, free: 6.676 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.296e-05/1.001, allocations: 24.47 kB / 1.398 GB, free: 6.664 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/1.001, allocations: 59.72 kB / 1.398 GB, free: 6.633 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/1.001, allocations: 0 / 1.398 GB, free: 6.633 MB / 1.092 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002241/1.001, allocations: 108.6 kB / 1.398 GB, free: 6.57 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/1.001, allocations: 9.484 kB / 1.398 GB, free: 6.566 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/1.001, allocations: 0 / 1.398 GB, free: 6.566 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/1.001, allocations: 1.375 kB / 1.398 GB, free: 6.566 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/1.002, allocations: 23.12 kB / 1.398 GB, free: 6.562 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/1.002, allocations: 1.578 kB / 1.398 GB, free: 6.562 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.722e-05/1.002, allocations: 3.984 kB / 1.398 GB, free: 6.559 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/1.002, allocations: 12.03 kB / 1.398 GB, free: 6.551 MB / 1.092 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 9.606e-05/1.002, allocations: 120.9 kB / 1.399 GB, free: 6.426 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.776e-05/1.002, allocations: 7.141 kB / 1.399 GB, free: 6.422 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/1.002, allocations: 128.6 kB / 1.399 GB, free: 6.324 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/1.002, allocations: 1.375 kB / 1.399 GB, free: 6.324 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.002, allocations: 4 kB / 1.399 GB, free: 6.32 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/1.002, allocations: 1.469 kB / 1.399 GB, free: 6.32 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/1.002, allocations: 176.9 kB / 1.399 GB, free: 6.109 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.002, allocations: 0 / 1.399 GB, free: 6.109 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/1.002, allocations: 31.58 kB / 1.399 GB, free: 6.098 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.002, allocations: 1.438 kB / 1.399 GB, free: 6.098 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/1.002, allocations: 2.156 kB / 1.399 GB, free: 6.098 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.002, allocations: 1.25 kB / 1.399 GB, free: 6.098 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.003, allocations: 3.984 kB / 1.399 GB, free: 6.094 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/1.003, allocations: 162.2 kB / 1.399 GB, free: 5.949 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 8.709e-05/1.003, allocations: 97.17 kB / 1.399 GB, free: 5.836 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/1.003, allocations: 0 / 1.399 GB, free: 5.836 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/1.003, allocations: 11.98 kB / 1.399 GB, free: 5.824 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/1.003, allocations: 11.98 kB / 1.399 GB, free: 5.812 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/1.003, allocations: 4 kB / 1.399 GB, free: 5.809 MB / 1.092 GB Notification: Performance of sorting global known variables: time 4.532e-05/1.003, allocations: 83.28 kB / 1.399 GB, free: 5.727 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/1.003, allocations: 0 / 1.399 GB, free: 5.727 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001347/1.005, allocations: 0.566 MB / 1.4 GB, free: 5.16 MB / 1.092 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.003464/1.008, allocations: 0.9318 MB / 1.401 GB, free: 4.203 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0001683/1.008, allocations: 67.91 kB / 1.401 GB, free: 4.137 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.008, allocations: 0 / 1.401 GB, free: 4.137 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 7.796e-05/1.008, allocations: 43.92 kB / 1.401 GB, free: 4.094 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/1.008, allocations: 9.094 kB / 1.401 GB, free: 4.086 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/1.011, allocations: 1.543 MB / 1.402 GB, free: 2.469 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/1.011, allocations: 0.6846 MB / 1.403 GB, free: 1.758 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 8.855e-05/1.011, allocations: 28.53 kB / 1.403 GB, free: 1.73 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/1.011, allocations: 19.38 kB / 1.403 GB, free: 1.711 MB / 1.092 GB Notification: Performance of SimCode: time 2.6e-07/1.011, allocations: 4 kB / 1.403 GB, free: 1.707 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0549/1.066, allocations: 25.45 MB / 1.428 GB, free: 8.316 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.373/9.439, allocations: 8.75 kB / 1.428 GB, free: 8.309 MB / 1.123 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 400 --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)