Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed",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.006808/0.006808, allocations: 101.1 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.001632/0.001633, allocations: 190.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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.587/2.587, allocations: 437.1 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2626, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.006125/0.2687, allocations: 4.912 MB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.009219/0.278, allocations: 5.565 MB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009926/0.279, allocations: 27.88 kB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003943/0.283, allocations: 1.493 MB / 1.178 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002505/0.2855, allocations: 1.117 MB / 1.179 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002552/0.2881, allocations: 1.197 MB / 1.18 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0195/0.3076, allocations: 13.58 MB / 1.193 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003788/0.308, allocations: 147 kB / 1.194 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.3095, allocations: 0.8604 MB / 1.194 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.3108, allocations: 0.8599 MB / 1.195 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003301/0.3111, allocations: 96 kB / 1.195 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002477/0.3136, allocations: 1.38 MB / 1.197 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.3147, allocations: 1.153 MB / 1.198 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001747/0.3165, allocations: 1.247 MB / 1.199 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004971/0.3215, allocations: 3.991 MB / 1.203 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3215, allocations: 0 / 1.203 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3215, allocations: 0 / 1.203 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001083/0.3216, allocations: 0 / 1.203 GB, free: 1.57 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.00726/0.3289, allocations: 3.075 MB / 1.206 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.329, allocations: 8.031 kB / 1.206 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.3291, allocations: 62.53 kB / 1.206 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00427/0.3333, allocations: 0.7107 MB / 1.207 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007977/0.3414, allocations: 4.354 MB / 1.211 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.214e-05/0.3415, allocations: 32.56 kB / 1.211 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002612/0.3417, allocations: 55.94 kB / 1.211 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.3437, allocations: 0.9845 MB / 1.212 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3437, allocations: 0 / 1.212 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.948e-05/0.3438, allocations: 16 kB / 1.212 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.3438, allocations: 8 kB / 1.212 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.346, allocations: 0.8492 MB / 1.213 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0068/0.3528, allocations: 3.23 MB / 1.216 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002358/0.3552, allocations: 1.139 MB / 1.217 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.3563, allocations: 457.1 kB / 1.218 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.089e-05/0.3564, allocations: 16.27 kB / 1.218 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.3564, allocations: 46.77 kB / 1.218 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 2.384e-06/0.3564, allocations: 0 / 1.218 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.004244/0.3607, allocations: 1.631 MB / 1.219 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.3607, allocations: 51.41 kB / 1.219 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006515/0.3673, allocations: 3.81 MB / 1.223 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002257/0.3675, allocations: 45.64 kB / 1.223 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001119/0.3686, allocations: 1.001 MB / 1.224 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000228/0.3689, allocations: 134.3 kB / 1.224 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009398/0.3698, allocations: 0.5118 MB / 1.225 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.543e-05/0.3699, allocations: 301.1 kB / 1.225 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002673/0.3726, allocations: 1.821 MB / 1.227 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003228/0.3759, allocations: 2.344 MB / 1.229 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005398/0.3813, allocations: 3.872 MB / 1.233 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/0.3813, allocations: 12.06 kB / 1.233 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007203/0.3885, allocations: 4.471 MB / 1.237 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.3886, allocations: 17.86 kB / 1.237 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/0.3886, allocations: 8 kB / 1.237 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.372e-05/0.3887, allocations: 20 kB / 1.237 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.3903, allocations: 387.5 kB / 1.238 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.621e-05/0.3903, allocations: 23.94 kB / 1.238 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/0.3926, allocations: 261.5 kB / 1.238 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002216/0.3929, allocations: 108 kB / 1.238 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003309/0.3962, allocations: 2.159 MB / 1.24 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002699/0.3989, allocations: 2.065 MB / 1.242 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004664/0.4036, allocations: 3.284 MB / 1.245 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.54e-05/0.4036, allocations: 4 kB / 1.245 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of matching and sorting (n=303) (initialization_lambda0): time 0.006349/0.41, allocations: 3.887 MB / 1.249 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.41, allocations: 11.94 kB / 1.249 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.4101, allocations: 15.98 kB / 1.249 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.4101, allocations: 24.09 kB / 1.249 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.4116, allocations: 367.4 kB / 1.249 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.259e-05/0.4116, allocations: 31.92 kB / 1.249 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/0.4139, allocations: 207.8 kB / 1.25 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/0.4141, allocations: 99.97 kB / 1.25 GB, free: 0.6602 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (187): * Single equations (assignments): 180 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 4 * 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 0.0003596/0.4145, allocations: 251.8 kB / 1.25 GB, free: 416 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006236/0.4151, allocations: 268.4 kB / 1.25 GB, free: 144 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4954/0.9106, allocations: 1.224 MB / 1.251 GB, free: 78.38 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.9106, allocations: 3.844 kB / 1.251 GB, free: 78.38 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.9106, allocations: 0 / 1.251 GB, free: 78.38 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.9106, allocations: 2.625 kB / 1.251 GB, free: 78.38 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/0.9131, allocations: 1.518 MB / 1.253 GB, free: 78.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.9131, allocations: 0.8125 kB / 1.253 GB, free: 78.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008288/0.914, allocations: 136.4 kB / 1.253 GB, free: 78.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.914, allocations: 2.812 kB / 1.253 GB, free: 78.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/0.914, allocations: 16.48 kB / 1.253 GB, free: 78.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.914, allocations: 1.594 kB / 1.253 GB, free: 78.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.9141, allocations: 0 / 1.253 GB, free: 78.16 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002949/0.917, allocations: 1.301 MB / 1.254 GB, free: 77.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/0.9182, allocations: 498.3 kB / 1.255 GB, free: 77.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004076/0.9186, allocations: 14.22 kB / 1.255 GB, free: 77.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.9198, allocations: 70.02 kB / 1.255 GB, free: 77.77 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/0.9199, allocations: 27.36 kB / 1.255 GB, free: 77.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.053e-05/0.92, allocations: 22.73 kB / 1.255 GB, free: 77.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004547/0.9245, allocations: 2.563 MB / 1.257 GB, free: 76.88 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9245, allocations: 2.344 kB / 1.257 GB, free: 76.88 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003494/0.928, allocations: 1.025 MB / 1.258 GB, free: 76.81 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (36): * Single equations (assignments): 36 * 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.004885/0.9329, allocations: 2.193 MB / 1.261 GB, free: 75.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007261/0.9402, allocations: 4.559 MB / 1.265 GB, free: 74.39 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.9403, allocations: 0 / 1.265 GB, free: 74.39 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.9415, allocations: 472.6 kB / 1.266 GB, free: 74.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006088/0.9476, allocations: 1.327 MB / 1.267 GB, free: 73.95 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04161/0.9892, allocations: 27.18 MB / 1.293 GB, free: 63.64 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001461/0.9907, allocations: 1.781 MB / 1.295 GB, free: 62.72 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002926/0.9936, allocations: 0.7979 MB / 1.296 GB, free: 62.49 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/0.995, allocations: 1.03 MB / 1.297 GB, free: 61.7 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/0.995, allocations: 3.219 kB / 1.297 GB, free: 61.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/1.101, allocations: 79.62 MB / 1.375 GB, free: 8.07 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/15.89, allocations: 0 / 1.375 GB, free: 8.07 MB / 1.014 GB (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed.fmu > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe 2>&1)