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.00739/0.00739, allocations: 101.6 kB / 15.73 MB, free: 6.445 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.001452/0.001453, allocations: 196.4 kB / 16.68 MB, free: 6.355 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.384/1.384, 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 11.0.1-master/package.mo): time 2.906/2.906, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 68.12 kB / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.276, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.005911/0.2819, allocations: 4.907 MB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009352/0.2913, allocations: 5.56 MB / 1.218 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000993/0.2923, allocations: 27.77 kB / 1.218 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003794/0.2962, allocations: 1.504 MB / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00266/0.2988, allocations: 1.113 MB / 1.22 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002463/0.3013, allocations: 1.199 MB / 1.221 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01925/0.3206, allocations: 13.56 MB / 1.235 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004567/0.3211, allocations: 155 kB / 1.235 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.3228, allocations: 0.8838 MB / 1.236 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.3241, allocations: 0.8677 MB / 1.236 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003117/0.3245, allocations: 96 kB / 1.236 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/0.3269, allocations: 1.376 MB / 1.238 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.328, allocations: 1.145 MB / 1.239 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001824/0.3299, allocations: 1.259 MB / 1.24 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005316/0.3352, allocations: 3.983 MB / 1.244 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3352, allocations: 0 / 1.244 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.196e-06/0.3352, allocations: 8 kB / 1.244 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.325e-05/0.3353, allocations: 0 / 1.244 GB, free: 4.363 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.005977/0.3413, allocations: 3.077 MB / 1.247 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3413, allocations: 8.625 kB / 1.247 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.663e-05/0.3414, allocations: 58.55 kB / 1.247 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003609/0.345, allocations: 0.7185 MB / 1.248 GB, free: 432 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5353/0.8804, allocations: 4.347 MB / 1.252 GB, free: 37.75 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.807e-05/0.8805, allocations: 39.31 kB / 1.252 GB, free: 37.75 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002126/0.8807, allocations: 47.5 kB / 1.252 GB, free: 37.75 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.8825, allocations: 0.9929 MB / 1.253 GB, free: 37.72 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.8825, allocations: 0 / 1.253 GB, free: 37.72 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.977e-05/0.8826, allocations: 10.25 kB / 1.253 GB, free: 37.72 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.8826, allocations: 9.25 kB / 1.253 GB, free: 37.71 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/0.8846, allocations: 0.8464 MB / 1.254 GB, free: 37.71 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006613/0.8912, allocations: 3.234 MB / 1.257 GB, free: 37.28 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/0.8934, allocations: 1.132 MB / 1.258 GB, free: 37.25 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.8945, allocations: 452.1 kB / 1.259 GB, free: 37.24 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.566e-05/0.8946, allocations: 19.25 kB / 1.259 GB, free: 37.24 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.8946, allocations: 42.22 kB / 1.259 GB, free: 37.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.505e-06/0.8946, allocations: 0 / 1.259 GB, free: 37.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.004604/0.8992, allocations: 1.621 MB / 1.26 GB, free: 37.01 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.8993, allocations: 55.38 kB / 1.26 GB, free: 36.95 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007696/0.907, allocations: 3.809 MB / 1.264 GB, free: 36.63 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003687/0.9074, allocations: 41.84 kB / 1.264 GB, free: 36.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.9086, allocations: 1.002 MB / 1.265 GB, free: 36.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.9088, allocations: 131.2 kB / 1.265 GB, free: 36.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008881/0.9097, allocations: 0.5151 MB / 1.266 GB, free: 35.97 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.64e-05/0.9098, allocations: 306.4 kB / 1.266 GB, free: 35.67 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002728/0.9125, allocations: 1.821 MB / 1.268 GB, free: 35.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002951/0.9155, allocations: 2.357 MB / 1.27 GB, free: 33.99 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005371/0.9209, allocations: 3.864 MB / 1.274 GB, free: 32.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.513e-05/0.9209, allocations: 3.844 kB / 1.274 GB, free: 32.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007313/0.9283, allocations: 4.473 MB / 1.278 GB, free: 30.88 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.9283, allocations: 11.19 kB / 1.278 GB, free: 30.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.92e-05/0.9284, allocations: 11 kB / 1.278 GB, free: 30.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.965e-05/0.9284, allocations: 19.69 kB / 1.278 GB, free: 30.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/0.9299, allocations: 381.2 kB / 1.279 GB, free: 30.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.52e-05/0.93, allocations: 31.69 kB / 1.279 GB, free: 30.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002397/0.9324, allocations: 270.2 kB / 1.279 GB, free: 30.69 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002179/0.9326, allocations: 106.4 kB / 1.279 GB, free: 30.67 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003602/0.9362, allocations: 2.157 MB / 1.281 GB, free: 29.89 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002731/0.939, allocations: 2.064 MB / 1.283 GB, free: 28.87 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004767/0.9438, allocations: 3.29 MB / 1.286 GB, free: 27.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.777e-05/0.9438, allocations: 4 kB / 1.286 GB, free: 27.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=303) (initialization_lambda0): time 0.007234/0.9511, allocations: 3.885 MB / 1.29 GB, free: 26.06 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.9511, allocations: 8.719 kB / 1.29 GB, free: 26.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.022e-05/0.9512, allocations: 11.75 kB / 1.29 GB, free: 26.06 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.391e-05/0.9512, allocations: 22.75 kB / 1.29 GB, free: 26.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.9528, allocations: 375.9 kB / 1.291 GB, free: 26.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.311e-05/0.9528, allocations: 29.34 kB / 1.291 GB, free: 26.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/0.9553, allocations: 212.4 kB / 1.291 GB, free: 25.92 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002254/0.9555, allocations: 96.67 kB / 1.291 GB, free: 25.91 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.0004435/0.956, allocations: 257.6 kB / 1.291 GB, free: 25.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008367/0.9568, allocations: 261.8 kB / 1.291 GB, free: 25.51 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003438/0.9603, allocations: 1.244 MB / 1.293 GB, free: 25.13 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.9603, allocations: 4.438 kB / 1.293 GB, free: 25.13 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.9603, allocations: 4.734 kB / 1.293 GB, free: 25.13 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.423e-06/0.9603, allocations: 1.594 kB / 1.293 GB, free: 25.13 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003684/0.964, allocations: 1.52 MB / 1.294 GB, free: 24.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.9641, allocations: 0.6562 kB / 1.294 GB, free: 24.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007754/0.9648, allocations: 127.8 kB / 1.294 GB, free: 24.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-05/0.9649, allocations: 2.922 kB / 1.294 GB, free: 24.47 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.638e-05/0.9649, allocations: 16.66 kB / 1.294 GB, free: 24.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.9649, allocations: 1.562 kB / 1.294 GB, free: 24.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.9649, allocations: 5.062 kB / 1.294 GB, free: 24.46 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003372/0.9683, allocations: 1.297 MB / 1.296 GB, free: 23.93 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001614/0.97, allocations: 499.4 kB / 1.296 GB, free: 23.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008044/0.9708, allocations: 11.42 kB / 1.296 GB, free: 23.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/0.9724, allocations: 69 kB / 1.296 GB, free: 23.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.9726, allocations: 31.66 kB / 1.296 GB, free: 23.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.073e-05/0.9727, allocations: 22.72 kB / 1.296 GB, free: 23.57 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005162/0.9778, allocations: 2.562 MB / 1.299 GB, free: 22.69 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.8e-07/0.9778, allocations: 0 / 1.299 GB, free: 22.69 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003873/0.9817, allocations: 1.032 MB / 1.3 GB, free: 22.61 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.003767/0.9855, allocations: 2.192 MB / 1.302 GB, free: 21.55 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006698/0.9922, allocations: 4.551 MB / 1.306 GB, free: 20.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.9923, allocations: 1.156 kB / 1.306 GB, free: 20.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.9933, allocations: 473.8 kB / 1.307 GB, free: 19.99 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005031/0.9983, allocations: 1.323 MB / 1.308 GB, free: 19.57 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03198/1.03, allocations: 27.18 MB / 1.335 GB, free: 14.66 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/1.032, allocations: 1.781 MB / 1.336 GB, free: 12.85 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002819/1.035, allocations: 0.7967 MB / 1.337 GB, free: 12.07 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/1.036, allocations: 1.03 MB / 1.338 GB, free: 11.04 MB / 1.014 GB Notification: Performance of SimCode: time 7.12e-07/1.036, allocations: 0 / 1.338 GB, free: 11.04 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.059/3.095, allocations: 80.9 MB / 1.417 GB, free: 11.31 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.56/18.65, allocations: 22.75 kB / 1.417 GB, free: 11.29 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)