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.007941/0.007941, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.00191/0.00191, allocations: 188.6 kB / 16.67 MB, free: 5.93 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.289/2.289, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.89 kB / 0.9504 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8437/0.8457, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001991/0.8478, allocations: 1.261 MB / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1615/1.009, allocations: 137.7 MB / 1.223 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/1.009, allocations: 0 / 1.223 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/1.009, allocations: 0 / 1.223 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.914e-05/1.01, allocations: 4.938 kB / 1.223 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001426/1.011, allocations: 462.3 kB / 1.224 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.897e-05/1.011, allocations: 47.7 kB / 1.224 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.463e-05/1.011, allocations: 10.19 kB / 1.224 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.596e-05/1.011, allocations: 18.92 kB / 1.224 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.925e-05/1.011, allocations: 18.88 kB / 1.224 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/1.011, allocations: 2.25 kB / 1.224 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/1.013, allocations: 0.8359 MB / 1.225 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/1.013, allocations: 6.75 kB / 1.225 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/1.013, allocations: 19.31 kB / 1.225 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006686/1.014, allocations: 445.4 kB / 1.225 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/1.014, allocations: 0 / 1.225 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.102e-06/1.014, allocations: 1.031 kB / 1.225 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.759e-06/1.014, allocations: 0 / 1.225 GB, free: 12.63 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.0005205/1.014, allocations: 369.3 kB / 1.225 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/1.014, allocations: 14.06 kB / 1.225 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.273e-05/1.014, allocations: 35.91 kB / 1.225 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/1.014, allocations: 17.42 kB / 1.225 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.422e-05/1.014, allocations: 161.8 kB / 1.226 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/1.015, allocations: 5.75 kB / 1.226 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/1.015, allocations: 6.719 kB / 1.226 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/1.015, allocations: 58.64 kB / 1.226 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/1.015, allocations: 0 / 1.226 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/1.015, allocations: 1.125 kB / 1.226 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/1.015, allocations: 1.188 kB / 1.226 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.485e-05/1.015, allocations: 22.2 kB / 1.226 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/1.015, allocations: 169.6 kB / 1.226 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/1.015, allocations: 55.81 kB / 1.226 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.106e-05/1.015, allocations: 16.56 kB / 1.226 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0117/1.027, allocations: 3.211 MB / 1.229 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/1.027, allocations: 36.28 kB / 1.229 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/1.027, allocations: 0 / 1.229 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.04393/1.071, allocations: 14.99 MB / 1.244 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/1.071, allocations: 59.41 kB / 1.244 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.05e-05/1.071, allocations: 93.84 kB / 1.244 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/1.071, allocations: 29.7 kB / 1.244 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/1.071, allocations: 88.08 kB / 1.244 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/1.071, allocations: 43.3 kB / 1.244 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/1.071, allocations: 25.72 kB / 1.244 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.071, allocations: 326.8 kB / 1.244 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.865e-05/1.071, allocations: 20 kB / 1.244 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.341e-05/1.071, allocations: 26.86 kB / 1.244 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/1.072, allocations: 68.78 kB / 1.244 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/1.072, allocations: 0 / 1.244 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002177/1.072, allocations: 101.7 kB / 1.245 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/1.072, allocations: 4 kB / 1.245 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.072, allocations: 4 kB / 1.245 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/1.072, allocations: 3.984 kB / 1.245 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/1.072, allocations: 27.94 kB / 1.245 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/1.072, allocations: 0 / 1.245 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/1.072, allocations: 0 / 1.245 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/1.072, allocations: 8 kB / 1.245 GB, free: 12.5 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 9.723e-05/1.072, allocations: 121.8 kB / 1.245 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/1.072, allocations: 7.906 kB / 1.245 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/1.072, allocations: 125.4 kB / 1.245 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/1.072, allocations: 4 kB / 1.245 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1.072, allocations: 4 kB / 1.245 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.072, allocations: 0 / 1.245 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/1.073, allocations: 181.6 kB / 1.245 GB, free: 12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/1.073, allocations: 0 / 1.245 GB, free: 12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/1.073, allocations: 27.98 kB / 1.245 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/1.073, allocations: 0 / 1.245 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/1.073, allocations: 4 kB / 1.245 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/1.073, allocations: 4 kB / 1.245 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.073, allocations: 0 / 1.245 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/1.073, allocations: 165 kB / 1.245 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/1.073, allocations: 85.14 kB / 1.245 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/1.074, allocations: 4 kB / 1.245 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/1.074, allocations: 11.98 kB / 1.245 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/1.074, allocations: 7.984 kB / 1.245 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/1.074, allocations: 8 kB / 1.245 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.422e-05/1.074, allocations: 79.28 kB / 1.245 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/1.074, allocations: 0 / 1.245 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002855/1.077, allocations: 0.5663 MB / 1.246 GB, free: 11.01 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.004777/1.081, allocations: 0.9401 MB / 1.247 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001962/1.082, allocations: 59.97 kB / 1.247 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.082, allocations: 4 kB / 1.247 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.185e-05/1.082, allocations: 39.92 kB / 1.247 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/1.082, allocations: 11.98 kB / 1.247 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/1.084, allocations: 1.559 MB / 1.248 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/1.084, allocations: 0.6851 MB / 1.249 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.193e-05/1.085, allocations: 24.53 kB / 1.249 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/1.085, allocations: 23.44 kB / 1.249 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/1.085, allocations: 0 / 1.249 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05205/1.137, allocations: 25.44 MB / 1.274 GB, free: 14.14 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/9.165, allocations: 3.875 kB / 1.274 GB, free: 14.14 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)