Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_9_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.007777/0.007777, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.002163/0.002163, allocations: 189.4 kB / 16.67 MB, free: 5.875 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.215/2.215, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 67.89 kB / 0.9504 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7896/0.7911, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.00202/0.7932, allocations: 1.275 MB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1678/0.961, allocations: 137.7 MB / 1.223 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.551e-05/0.9611, allocations: 0 / 1.223 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.455e-05/0.9612, allocations: 0 / 1.223 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.92e-05/0.9612, allocations: 5.125 kB / 1.223 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.9627, allocations: 475 kB / 1.224 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.343e-05/0.9628, allocations: 48.48 kB / 1.224 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.271e-05/0.9629, allocations: 2.25 kB / 1.224 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.003e-05/0.9629, allocations: 19.61 kB / 1.224 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.72e-05/0.963, allocations: 22 kB / 1.224 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.963, allocations: 2.094 kB / 1.224 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.9646, allocations: 0.8276 MB / 1.225 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.9647, allocations: 10.86 kB / 1.225 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.9647, allocations: 19.86 kB / 1.225 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007433/0.9655, allocations: 443.1 kB / 1.225 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.9655, allocations: 0 / 1.225 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.392e-06/0.9655, allocations: 4 kB / 1.225 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.9655, allocations: 1.156 kB / 1.225 GB, free: 12.64 MB / 0.9669 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.0005807/0.9661, allocations: 375.1 kB / 1.225 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.9661, allocations: 9.906 kB / 1.225 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.598e-05/0.9662, allocations: 31.69 kB / 1.225 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.9663, allocations: 16.77 kB / 1.225 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.908e-05/0.9664, allocations: 165.9 kB / 1.226 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.9665, allocations: 2.969 kB / 1.226 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.9665, allocations: 10.28 kB / 1.226 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.9666, allocations: 62.47 kB / 1.226 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.9666, allocations: 0 / 1.226 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.9667, allocations: 1.375 kB / 1.226 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.9667, allocations: 1.312 kB / 1.226 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.276e-05/0.9667, allocations: 26.28 kB / 1.226 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.9669, allocations: 165.1 kB / 1.226 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.967, allocations: 60.05 kB / 1.226 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.967, allocations: 20.45 kB / 1.226 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0117/0.9787, allocations: 3.198 MB / 1.229 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.9788, allocations: 40.7 kB / 1.229 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.9788, allocations: 0 / 1.229 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0427/1.022, allocations: 14.99 MB / 1.244 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/1.022, allocations: 55.41 kB / 1.244 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.834e-05/1.022, allocations: 93.8 kB / 1.244 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/1.022, allocations: 29.7 kB / 1.244 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.717e-05/1.022, allocations: 80.14 kB / 1.244 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/1.022, allocations: 47.69 kB / 1.244 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.637e-05/1.022, allocations: 41.7 kB / 1.244 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001019/1.022, allocations: 314.8 kB / 1.244 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.72e-05/1.022, allocations: 27.98 kB / 1.244 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.644e-05/1.022, allocations: 27.92 kB / 1.244 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/1.022, allocations: 63.61 kB / 1.244 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/1.022, allocations: 0 / 1.244 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002257/1.022, allocations: 105.6 kB / 1.245 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.023, allocations: 4 kB / 1.245 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/1.023, allocations: 4 kB / 1.245 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/1.023, allocations: 0 / 1.245 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/1.023, allocations: 27.92 kB / 1.245 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/1.023, allocations: 4 kB / 1.245 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.838e-05/1.023, allocations: 0 / 1.245 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/1.023, allocations: 8 kB / 1.245 GB, free: 12.51 MB / 0.9825 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.68e-05/1.023, allocations: 113.8 kB / 1.245 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/1.023, allocations: 4 kB / 1.245 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/1.023, allocations: 141.3 kB / 1.245 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/1.023, allocations: 0 / 1.245 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.023, allocations: 0 / 1.245 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/1.023, allocations: 0 / 1.245 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/1.023, allocations: 173.6 kB / 1.245 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.023, allocations: 0 / 1.245 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/1.023, allocations: 31.98 kB / 1.245 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/1.023, allocations: 4 kB / 1.245 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/1.024, allocations: 4 kB / 1.245 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.024, allocations: 0 / 1.245 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.024, allocations: 0 / 1.245 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/1.024, allocations: 156.9 kB / 1.245 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.951e-05/1.024, allocations: 93.09 kB / 1.245 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/1.024, allocations: 4 kB / 1.245 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/1.024, allocations: 15.98 kB / 1.245 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/1.024, allocations: 8 kB / 1.245 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/1.024, allocations: 7.984 kB / 1.245 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 2.967e-05/1.024, allocations: 75.28 kB / 1.245 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/1.024, allocations: 0 / 1.245 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002054/1.026, allocations: 0.5699 MB / 1.246 GB, free: 11.02 MB / 0.9825 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.004867/1.031, allocations: 0.9441 MB / 1.247 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002224/1.031, allocations: 63.97 kB / 1.247 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/1.031, allocations: 3.938 kB / 1.247 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.999e-05/1.031, allocations: 36.36 kB / 1.247 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/1.032, allocations: 8.219 kB / 1.247 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/1.035, allocations: 1.558 MB / 1.248 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/1.035, allocations: 0.6889 MB / 1.249 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.845e-05/1.035, allocations: 24.55 kB / 1.249 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/1.035, allocations: 19.42 kB / 1.249 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/1.035, allocations: 0 / 1.249 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05125/1.086, allocations: 25.44 MB / 1.274 GB, free: 14.15 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.071/9.157, allocations: 3.25 kB / 1.274 GB, free: 14.15 MB / 1.014 GB (rm -f Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1)