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.007887/0.007886, allocations: 95.97 kB / 15.73 MB, free: 6.055 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.001854/0.001854, allocations: 202.8 kB / 16.68 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.544/2.544, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2644, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.005853/0.2703, allocations: 4.903 MB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.009619/0.2799, allocations: 5.576 MB / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001559/0.2815, allocations: 23.94 kB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004774/0.2864, allocations: 1.502 MB / 1.178 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002607/0.289, allocations: 1.128 MB / 1.179 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002508/0.2915, allocations: 1.192 MB / 1.18 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01917/0.3107, allocations: 13.59 MB / 1.193 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003985/0.3111, allocations: 135 kB / 1.194 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/0.3127, allocations: 0.8994 MB / 1.194 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.3141, allocations: 0.8638 MB / 1.195 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003463/0.3145, allocations: 96 kB / 1.195 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/0.3169, allocations: 1.38 MB / 1.197 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.318, allocations: 1.145 MB / 1.198 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001672/0.3197, allocations: 1.259 MB / 1.199 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00437/0.324, allocations: 4 MB / 1.203 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3241, allocations: 0 / 1.203 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3241, allocations: 0 / 1.203 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4e-05/0.3241, allocations: 0 / 1.203 GB, free: 1.484 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.005348/0.3295, allocations: 3.175 MB / 1.206 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3295, allocations: 8.031 kB / 1.206 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.901e-05/0.3296, allocations: 62.55 kB / 1.206 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003956/0.3336, allocations: 0.728 MB / 1.207 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006921/0.3405, allocations: 4.38 MB / 1.211 GB, free: 9 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/0.3406, allocations: 32.56 kB / 1.211 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.3407, allocations: 47.94 kB / 1.211 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.3424, allocations: 0.9923 MB / 1.212 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3425, allocations: 0 / 1.212 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-05/0.3425, allocations: 15.98 kB / 1.212 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.3426, allocations: 8 kB / 1.212 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.3446, allocations: 0.8454 MB / 1.213 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006057/0.3506, allocations: 3.246 MB / 1.216 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002181/0.3528, allocations: 1.147 MB / 1.217 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.3539, allocations: 453.1 kB / 1.218 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.184e-05/0.3539, allocations: 16.25 kB / 1.218 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.354, allocations: 42.78 kB / 1.218 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/0.354, allocations: 4 kB / 1.218 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.00395/0.358, allocations: 1.64 MB / 1.219 GB, free: 440 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.358, allocations: 55.41 kB / 1.219 GB, free: 372 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005266/0.3633, allocations: 3.814 MB / 1.223 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001974/0.3635, allocations: 37.7 kB / 1.223 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008939/0.3644, allocations: 1.005 MB / 1.224 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.3646, allocations: 138.9 kB / 1.224 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006738/0.3652, allocations: 0.5237 MB / 1.225 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.298e-05/0.3653, allocations: 301.1 kB / 1.225 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002533/0.3679, allocations: 1.821 MB / 1.227 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00287/0.3708, allocations: 2.347 MB / 1.229 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004897/0.3757, allocations: 3.864 MB / 1.233 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.3757, allocations: 4 kB / 1.233 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.006566/0.3823, allocations: 4.5 MB / 1.237 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.3823, allocations: 12 kB / 1.237 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.402e-05/0.3823, allocations: 8 kB / 1.237 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.17e-05/0.3824, allocations: 20 kB / 1.237 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/0.3839, allocations: 379.6 kB / 1.238 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.181e-05/0.384, allocations: 27.92 kB / 1.238 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/0.3863, allocations: 262.2 kB / 1.238 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/0.3865, allocations: 108 kB / 1.238 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003109/0.3896, allocations: 2.167 MB / 1.24 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00254/0.3921, allocations: 2.061 MB / 1.242 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004343/0.3965, allocations: 3.284 MB / 1.245 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.133e-05/0.3965, allocations: 7.984 kB / 1.245 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=303) (initialization_lambda0): time 0.006157/0.4027, allocations: 3.904 MB / 1.249 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.4027, allocations: 11.94 kB / 1.249 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.4028, allocations: 12 kB / 1.249 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.4028, allocations: 20 kB / 1.249 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.4043, allocations: 371.6 kB / 1.25 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.473e-05/0.4043, allocations: 23.94 kB / 1.25 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/0.4066, allocations: 220.2 kB / 1.25 GB, free: 464 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.4068, allocations: 99.97 kB / 1.25 GB, free: 364 kB / 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.0003873/0.4072, allocations: 259.7 kB / 1.25 GB, free: 100 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.5538/0.961, allocations: 271.9 kB / 1.251 GB, free: 78.44 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003364/0.9644, allocations: 1.229 MB / 1.252 GB, free: 78.37 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.9644, allocations: 5.984 kB / 1.252 GB, free: 78.37 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.9644, allocations: 0 / 1.252 GB, free: 78.37 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.9644, allocations: 4.297 kB / 1.252 GB, free: 78.37 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00293/0.9674, allocations: 1.512 MB / 1.253 GB, free: 78.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.9674, allocations: 2.812 kB / 1.253 GB, free: 78.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008121/0.9682, allocations: 129.6 kB / 1.253 GB, free: 78.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.9682, allocations: 2.094 kB / 1.253 GB, free: 78.14 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.464e-05/0.9683, allocations: 15.95 kB / 1.253 GB, free: 78.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.9683, allocations: 2.109 kB / 1.253 GB, free: 78.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.9683, allocations: 0.7188 kB / 1.253 GB, free: 78.14 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003435/0.9717, allocations: 1.316 MB / 1.255 GB, free: 77.93 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/0.9731, allocations: 0.4982 MB / 1.255 GB, free: 77.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003915/0.9735, allocations: 9.984 kB / 1.255 GB, free: 77.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.9746, allocations: 70.59 kB / 1.255 GB, free: 77.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.459e-05/0.9747, allocations: 31.59 kB / 1.255 GB, free: 77.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-05/0.9748, allocations: 21.97 kB / 1.255 GB, free: 77.59 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005519/0.9803, allocations: 2.568 MB / 1.258 GB, free: 76.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9804, allocations: 0 / 1.258 GB, free: 76.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004139/0.9845, allocations: 1.03 MB / 1.259 GB, free: 76.63 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.00486/0.9894, allocations: 2.221 MB / 1.261 GB, free: 75.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007453/0.9969, allocations: 4.553 MB / 1.265 GB, free: 74.19 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.9969, allocations: 0 / 1.265 GB, free: 74.19 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.998, allocations: 473.7 kB / 1.266 GB, free: 74.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005169/1.003, allocations: 1.326 MB / 1.267 GB, free: 73.74 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04431/1.048, allocations: 27.27 MB / 1.294 GB, free: 63.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00153/1.049, allocations: 1.771 MB / 1.296 GB, free: 62.43 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003155/1.052, allocations: 0.7983 MB / 1.296 GB, free: 62.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001682/1.054, allocations: 1.028 MB / 1.297 GB, free: 61.41 MB / 0.9981 GB Notification: Performance of SimCode: time 8.31e-07/1.054, allocations: 4 kB / 1.297 GB, free: 61.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1127/1.167, allocations: 79.63 MB / 1.375 GB, free: 7.598 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/15.94, allocations: 8 kB / 1.375 GB, free: 7.59 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)