Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed,fileNamePrefix="Buildings_11_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.001643/0.001643, allocations: 108.6 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.001588/0.001588, allocations: 190.4 kB / 16.66 MB, free: 6.59 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.917/2.917, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 64.12 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2799, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.006488/0.2864, allocations: 4.921 MB / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009323/0.2958, allocations: 5.57 MB / 1.23 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008104/0.2966, allocations: 27.88 kB / 1.23 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004111/0.3008, allocations: 1.502 MB / 1.232 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002685/0.3035, allocations: 1.116 MB / 1.233 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.306, allocations: 1.193 MB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0207/0.3267, allocations: 13.57 MB / 1.247 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003329/0.3271, allocations: 158.9 kB / 1.248 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.3284, allocations: 0.8487 MB / 1.248 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.3296, allocations: 0.8677 MB / 1.249 GB, free: 444 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002048/0.3298, allocations: 100 kB / 1.249 GB, free: 344 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5471/0.8769, allocations: 1.367 MB / 1.251 GB, free: 18.96 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001296/0.8783, allocations: 1.152 MB / 1.252 GB, free: 18.96 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.8796, allocations: 1.261 MB / 1.253 GB, free: 18.57 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004818/0.8844, allocations: 4.001 MB / 1.257 GB, free: 17.97 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.8844, allocations: 0 / 1.257 GB, free: 17.97 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.326e-06/0.8844, allocations: 0.625 kB / 1.257 GB, free: 17.97 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.374e-05/0.8845, allocations: 3.75 kB / 1.257 GB, free: 17.97 MB / 0.9981 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.005135/0.8896, allocations: 3.176 MB / 1.26 GB, free: 16.18 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.8897, allocations: 10.5 kB / 1.26 GB, free: 16.18 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.565e-05/0.8898, allocations: 59.81 kB / 1.26 GB, free: 16.14 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003725/0.8935, allocations: 0.7322 MB / 1.261 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006628/0.9001, allocations: 4.384 MB / 1.265 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.801e-05/0.9002, allocations: 33.22 kB / 1.265 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.9004, allocations: 48.28 kB / 1.265 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.9025, allocations: 0.994 MB / 1.266 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.9025, allocations: 1.281 kB / 1.266 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.52e-05/0.9026, allocations: 9.5 kB / 1.266 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.9026, allocations: 7.094 kB / 1.266 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002173/0.9047, allocations: 0.8441 MB / 1.267 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008051/0.9128, allocations: 3.243 MB / 1.27 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/0.9152, allocations: 1.153 MB / 1.271 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.9164, allocations: 460.1 kB / 1.272 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.395e-05/0.9164, allocations: 15.17 kB / 1.272 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.9165, allocations: 35.62 kB / 1.272 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.254e-06/0.9165, allocations: 4.469 kB / 1.272 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.00452/0.921, allocations: 1.636 MB / 1.273 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.9211, allocations: 58.75 kB / 1.273 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007513/0.9286, allocations: 3.814 MB / 1.277 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000329/0.9289, allocations: 41.7 kB / 1.277 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00116/0.9301, allocations: 0.9992 MB / 1.278 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003179/0.9304, allocations: 134.8 kB / 1.278 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001221/0.9317, allocations: 0.5196 MB / 1.279 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.93e-05/0.9317, allocations: 305.8 kB / 1.279 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00293/0.9347, allocations: 1.821 MB / 1.281 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003304/0.938, allocations: 2.359 MB / 1.283 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005667/0.9437, allocations: 3.861 MB / 1.287 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.692e-05/0.9437, allocations: 4.344 kB / 1.287 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007106/0.9508, allocations: 4.485 MB / 1.291 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.9508, allocations: 9.375 kB / 1.291 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/0.9509, allocations: 15.34 kB / 1.291 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.37e-05/0.9509, allocations: 18.73 kB / 1.291 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.9525, allocations: 383.8 kB / 1.292 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-05/0.9525, allocations: 24.84 kB / 1.292 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002658/0.9552, allocations: 266.8 kB / 1.292 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002355/0.9555, allocations: 109.8 kB / 1.292 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003687/0.9591, allocations: 2.162 MB / 1.294 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002649/0.9618, allocations: 2.058 MB / 1.296 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004509/0.9663, allocations: 3.294 MB / 1.299 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.117e-05/0.9664, allocations: 6.625 kB / 1.299 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of matching and sorting (n=303) (initialization_lambda0): time 0.006329/0.9727, allocations: 3.897 MB / 1.303 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.9727, allocations: 10.98 kB / 1.303 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-05/0.9728, allocations: 10.31 kB / 1.303 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-05/0.9728, allocations: 18.22 kB / 1.303 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/0.9743, allocations: 382.9 kB / 1.304 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.332e-05/0.9743, allocations: 23.06 kB / 1.304 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002594/0.9769, allocations: 223.2 kB / 1.304 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/0.9772, allocations: 98.77 kB / 1.304 GB, free: 2.059 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.0003914/0.9776, allocations: 261.2 kB / 1.304 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007967/0.9784, allocations: 269.7 kB / 1.305 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003122/0.9815, allocations: 1.245 MB / 1.306 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.9815, allocations: 5.203 kB / 1.306 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.9815, allocations: 0 / 1.306 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.9815, allocations: 3.062 kB / 1.306 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003221/0.9848, allocations: 1.512 MB / 1.307 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.9848, allocations: 4.359 kB / 1.307 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007935/0.9856, allocations: 126.7 kB / 1.307 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-06/0.9856, allocations: 1.219 kB / 1.307 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.484e-05/0.9857, allocations: 12.58 kB / 1.307 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.9857, allocations: 6.516 kB / 1.307 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.9857, allocations: 0 / 1.307 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002943/0.9886, allocations: 1.321 MB / 1.309 GB, free: 108 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001412/0.9901, allocations: 0.5013 MB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008192/0.9909, allocations: 9.562 kB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/0.9924, allocations: 71.59 kB / 1.309 GB, free: 15.74 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.9925, allocations: 25.97 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-05/0.9926, allocations: 24.3 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.005811/0.9984, allocations: 2.567 MB / 1.312 GB, free: 14.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9985, allocations: 0 / 1.312 GB, free: 14.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0048/1.003, allocations: 1.031 MB / 1.313 GB, free: 14.73 MB / 1.014 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/1.008, allocations: 2.226 MB / 1.315 GB, free: 13.62 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008496/1.017, allocations: 4.549 MB / 1.319 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.017, allocations: 0.8125 kB / 1.319 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001292/1.018, allocations: 477.2 kB / 1.32 GB, free: 12.14 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006371/1.024, allocations: 1.324 MB / 1.321 GB, free: 11.72 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04454/1.069, allocations: 27.26 MB / 1.348 GB, free: 5.16 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001909/1.071, allocations: 1.788 MB / 1.35 GB, free: 3.34 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00331/1.074, allocations: 0.7905 MB / 1.35 GB, free: 2.562 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001781/1.076, allocations: 1.03 MB / 1.351 GB, free: 1.531 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/1.076, allocations: 0 / 1.351 GB, free: 1.531 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1395/1.216, allocations: 79.64 MB / 1.429 GB, free: 3.219 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.91/16.12, allocations: 7.938 kB / 1.429 GB, free: 3.211 MB / 1.107 GB (rm -f Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; mkfifo Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe >> ../files/Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed.fmu > Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe 2>&1)