Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed,fileNamePrefix="Buildings_latest_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.005713/0.005713, allocations: 100.5 kB / 15.73 MB, free: 6.047 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.001295/0.001295, allocations: 197.8 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.861/2.861, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 59.91 kB / 1.054 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3187, allocations: 157.4 MB / 1.207 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.006412/0.3251, allocations: 4.922 MB / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009755/0.3349, allocations: 5.559 MB / 1.218 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.336, allocations: 27.88 kB / 1.218 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004457/0.3406, allocations: 1.499 MB / 1.219 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00378/0.3444, allocations: 1.129 MB / 1.22 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00349/0.3479, allocations: 1.182 MB / 1.221 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.02161/0.3695, allocations: 13.59 MB / 1.235 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004787/0.37, allocations: 151 kB / 1.235 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00166/0.3717, allocations: 0.8877 MB / 1.236 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.373, allocations: 0.8677 MB / 1.236 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000338/0.3734, allocations: 96 kB / 1.236 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002657/0.376, allocations: 1.382 MB / 1.238 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001227/0.3773, allocations: 1.145 MB / 1.239 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002002/0.3793, allocations: 1.251 MB / 1.24 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005415/0.3847, allocations: 3.991 MB / 1.244 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.3848, allocations: 4 kB / 1.244 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.485e-06/0.3848, allocations: 3.938 kB / 1.244 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001116/0.3849, allocations: 0 / 1.244 GB, free: 4.312 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.008908/0.3938, allocations: 3.071 MB / 1.247 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.3939, allocations: 12.61 kB / 1.247 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.394, allocations: 58.55 kB / 1.247 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003936/0.3979, allocations: 0.7185 MB / 1.248 GB, free: 380 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5948/0.9928, allocations: 4.346 MB / 1.252 GB, free: 37.18 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.506e-05/0.9929, allocations: 34.48 kB / 1.252 GB, free: 37.18 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.993, allocations: 48.94 kB / 1.252 GB, free: 37.18 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.9946, allocations: 0.9946 MB / 1.253 GB, free: 37.14 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.9946, allocations: 0 / 1.253 GB, free: 37.14 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.798e-05/0.9946, allocations: 11.53 kB / 1.253 GB, free: 37.14 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.9947, allocations: 9.094 kB / 1.253 GB, free: 37.14 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.9965, allocations: 0.8448 MB / 1.254 GB, free: 37.14 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006197/1.003, allocations: 3.231 MB / 1.257 GB, free: 36.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/1.005, allocations: 1.139 MB / 1.258 GB, free: 36.68 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/1.006, allocations: 455.8 kB / 1.259 GB, free: 36.67 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/1.006, allocations: 16.66 kB / 1.259 GB, free: 36.67 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/1.006, allocations: 37.41 kB / 1.259 GB, free: 36.63 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.795e-06/1.006, allocations: 0 / 1.259 GB, free: 36.63 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.004648/1.011, allocations: 1.622 MB / 1.26 GB, free: 36.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/1.011, allocations: 55.61 kB / 1.26 GB, free: 36.37 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008/1.019, allocations: 3.814 MB / 1.264 GB, free: 36.06 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002961/1.019, allocations: 40.2 kB / 1.264 GB, free: 36.03 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001183/1.02, allocations: 1 MB / 1.265 GB, free: 35.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002877/1.021, allocations: 131.5 kB / 1.265 GB, free: 35.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009982/1.022, allocations: 0.5109 MB / 1.266 GB, free: 35.69 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.115e-05/1.022, allocations: 302.9 kB / 1.266 GB, free: 35.39 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002592/1.024, allocations: 1.825 MB / 1.268 GB, free: 34.81 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002953/1.027, allocations: 2.357 MB / 1.27 GB, free: 33.71 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005323/1.033, allocations: 3.856 MB / 1.274 GB, free: 32.12 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.081e-05/1.033, allocations: 6.969 kB / 1.274 GB, free: 32.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007716/1.041, allocations: 4.476 MB / 1.278 GB, free: 30.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/1.041, allocations: 9.625 kB / 1.278 GB, free: 30.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.67e-05/1.041, allocations: 11 kB / 1.278 GB, free: 30.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.883e-05/1.041, allocations: 19.41 kB / 1.278 GB, free: 30.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/1.042, allocations: 380.8 kB / 1.279 GB, free: 30.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.297e-05/1.042, allocations: 28.11 kB / 1.279 GB, free: 30.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/1.045, allocations: 270.9 kB / 1.279 GB, free: 30.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002334/1.045, allocations: 108 kB / 1.279 GB, free: 30.39 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003251/1.048, allocations: 2.166 MB / 1.281 GB, free: 29.61 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002658/1.051, allocations: 2.058 MB / 1.283 GB, free: 28.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004832/1.056, allocations: 3.289 MB / 1.286 GB, free: 27.14 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.278e-05/1.056, allocations: 3.094 kB / 1.286 GB, free: 27.14 MB / 0.9981 GB Notification: Performance of matching and sorting (n=303) (initialization_lambda0): time 0.007153/1.063, allocations: 3.886 MB / 1.29 GB, free: 25.78 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/1.063, allocations: 14.34 kB / 1.29 GB, free: 25.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/1.063, allocations: 12.31 kB / 1.29 GB, free: 25.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-05/1.063, allocations: 18.25 kB / 1.29 GB, free: 25.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/1.065, allocations: 379.6 kB / 1.291 GB, free: 25.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.031e-05/1.065, allocations: 28.52 kB / 1.291 GB, free: 25.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002505/1.067, allocations: 212 kB / 1.291 GB, free: 25.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002467/1.067, allocations: 100 kB / 1.291 GB, free: 25.62 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.0004042/1.068, allocations: 255.6 kB / 1.291 GB, free: 25.38 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006106/1.068, allocations: 256.1 kB / 1.291 GB, free: 25.23 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002922/1.071, allocations: 1.245 MB / 1.293 GB, free: 24.85 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/1.071, allocations: 6.672 kB / 1.293 GB, free: 24.85 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/1.071, allocations: 3.938 kB / 1.293 GB, free: 24.85 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/1.071, allocations: 1.875 kB / 1.293 GB, free: 24.85 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/1.074, allocations: 1.531 MB / 1.294 GB, free: 24.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.074, allocations: 0 / 1.294 GB, free: 24.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007826/1.075, allocations: 128.7 kB / 1.294 GB, free: 24.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/1.075, allocations: 1.469 kB / 1.294 GB, free: 24.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.168e-05/1.075, allocations: 14.2 kB / 1.294 GB, free: 24.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/1.075, allocations: 0 / 1.294 GB, free: 24.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/1.075, allocations: 6.031 kB / 1.294 GB, free: 24.17 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002975/1.078, allocations: 1.296 MB / 1.296 GB, free: 23.65 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/1.079, allocations: 492.6 kB / 1.296 GB, free: 23.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000608/1.08, allocations: 9.094 kB / 1.296 GB, free: 23.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/1.081, allocations: 71.25 kB / 1.296 GB, free: 23.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/1.081, allocations: 32.2 kB / 1.296 GB, free: 23.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-05/1.081, allocations: 23.64 kB / 1.296 GB, free: 23.29 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004542/1.086, allocations: 2.571 MB / 1.299 GB, free: 22.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.41e-07/1.086, allocations: 0 / 1.299 GB, free: 22.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004083/1.09, allocations: 1.028 MB / 1.3 GB, free: 22.32 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.004105/1.094, allocations: 2.192 MB / 1.302 GB, free: 21.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007258/1.101, allocations: 4.548 MB / 1.306 GB, free: 19.81 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.101, allocations: 0 / 1.306 GB, free: 19.81 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/1.102, allocations: 475.9 kB / 1.307 GB, free: 19.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005413/1.108, allocations: 1.319 MB / 1.308 GB, free: 19.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03753/1.145, allocations: 27.18 MB / 1.335 GB, free: 14.47 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/1.147, allocations: 1.781 MB / 1.336 GB, free: 12.66 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.003031/1.15, allocations: 0.7971 MB / 1.337 GB, free: 11.88 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001568/1.152, allocations: 1.026 MB / 1.338 GB, free: 10.86 MB / 1.014 GB Notification: Performance of SimCode: time 6.91e-07/1.152, allocations: 4 kB / 1.338 GB, free: 10.85 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1196/1.271, allocations: 79.61 MB / 1.416 GB, free: 12.42 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/16.17, allocations: 15.61 kB / 1.416 GB, free: 12.41 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe 2>&1)