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.005957/0.005957, allocations: 97.56 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.001708/0.001707, allocations: 191.9 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.252/1.252, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.45/2.45, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 75.81 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2613, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.005986/0.2673, allocations: 4.912 MB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008466/0.2758, allocations: 5.569 MB / 1.23 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005561/0.2764, allocations: 27.94 kB / 1.23 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003305/0.2797, allocations: 1.498 MB / 1.232 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.2817, allocations: 1.116 MB / 1.233 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.2838, allocations: 1.197 MB / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0186/0.3024, allocations: 13.57 MB / 1.247 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003091/0.3027, allocations: 158.9 kB / 1.248 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.3039, allocations: 0.8565 MB / 1.248 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009639/0.3048, allocations: 0.8638 MB / 1.249 GB, free: 472 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.305, allocations: 96 kB / 1.249 GB, free: 376 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.504/0.8091, allocations: 1.377 MB / 1.251 GB, free: 18.36 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001405/0.8105, allocations: 1.15 MB / 1.252 GB, free: 18.36 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001322/0.8119, allocations: 1.253 MB / 1.253 GB, free: 17.96 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005277/0.8172, allocations: 4.014 MB / 1.257 GB, free: 17.36 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.8172, allocations: 0 / 1.257 GB, free: 17.36 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8172, allocations: 2.156 kB / 1.257 GB, free: 17.36 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.354e-05/0.8172, allocations: 0 / 1.257 GB, free: 17.36 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.00526/0.8225, allocations: 3.168 MB / 1.26 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.8226, allocations: 11 kB / 1.26 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.583e-05/0.8226, allocations: 62.36 kB / 1.26 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003524/0.8262, allocations: 0.7257 MB / 1.261 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006449/0.8326, allocations: 4.392 MB / 1.265 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.652e-05/0.8327, allocations: 35.06 kB / 1.265 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.8328, allocations: 46.89 kB / 1.265 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/0.8348, allocations: 0.9911 MB / 1.266 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.8349, allocations: 1.797 kB / 1.266 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-05/0.8349, allocations: 9.469 kB / 1.266 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.8349, allocations: 6.031 kB / 1.266 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/0.837, allocations: 0.8509 MB / 1.267 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00677/0.8438, allocations: 3.244 MB / 1.27 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002295/0.8461, allocations: 1.151 MB / 1.271 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.8472, allocations: 458.9 kB / 1.272 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.02e-05/0.8472, allocations: 17.72 kB / 1.272 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.8473, allocations: 33.34 kB / 1.272 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.8473, allocations: 0 / 1.272 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.004035/0.8513, allocations: 1.636 MB / 1.273 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.8513, allocations: 56.55 kB / 1.273 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00551/0.8569, allocations: 3.811 MB / 1.277 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001752/0.8571, allocations: 47.48 kB / 1.277 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000745/0.8578, allocations: 0.9987 MB / 1.278 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.8579, allocations: 134.8 kB / 1.278 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007512/0.8587, allocations: 0.5186 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.879e-05/0.8587, allocations: 308.9 kB / 1.279 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00257/0.8613, allocations: 1.817 MB / 1.281 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002878/0.8642, allocations: 2.355 MB / 1.283 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004972/0.8692, allocations: 3.865 MB / 1.287 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.8692, allocations: 5.984 kB / 1.287 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007253/0.8765, allocations: 4.493 MB / 1.291 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.8765, allocations: 9.844 kB / 1.291 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.021e-05/0.8766, allocations: 12.92 kB / 1.291 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.565e-05/0.8766, allocations: 18.56 kB / 1.291 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.8781, allocations: 384 kB / 1.292 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.781e-05/0.8782, allocations: 23.84 kB / 1.292 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002576/0.8807, allocations: 269.2 kB / 1.292 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/0.881, allocations: 105.3 kB / 1.292 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003752/0.8847, allocations: 2.164 MB / 1.294 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002643/0.8874, allocations: 2.06 MB / 1.296 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004405/0.8918, allocations: 3.299 MB / 1.299 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.969e-06/0.8918, allocations: 7.109 kB / 1.299 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of matching and sorting (n=303) (initialization_lambda0): time 0.006348/0.8982, allocations: 3.895 MB / 1.303 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.8982, allocations: 10.38 kB / 1.303 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.8982, allocations: 12.31 kB / 1.303 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.8983, allocations: 17.91 kB / 1.303 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.8996, allocations: 378 kB / 1.304 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.696e-05/0.8997, allocations: 25 kB / 1.304 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/0.9022, allocations: 221.5 kB / 1.304 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/0.9024, allocations: 98.23 kB / 1.304 GB, free: 1.836 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.0004968/0.9029, allocations: 261 kB / 1.304 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003992/0.9033, allocations: 270.2 kB / 1.305 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003143/0.9065, allocations: 1.244 MB / 1.306 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.9065, allocations: 4.625 kB / 1.306 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.9065, allocations: 0 / 1.306 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.9065, allocations: 2.297 kB / 1.306 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/0.9091, allocations: 1.522 MB / 1.307 GB, free: 444 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.9091, allocations: 4.812 kB / 1.307 GB, free: 444 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007037/0.9098, allocations: 124.3 kB / 1.307 GB, free: 436 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.9098, allocations: 4.719 kB / 1.307 GB, free: 436 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.242e-05/0.9099, allocations: 13.73 kB / 1.307 GB, free: 432 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.9099, allocations: 1.094 kB / 1.307 GB, free: 432 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.9099, allocations: 0 / 1.307 GB, free: 432 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002524/0.9124, allocations: 1.322 MB / 1.309 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008963/0.9133, allocations: 0.497 MB / 1.309 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003083/0.9137, allocations: 6.219 kB / 1.309 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.9147, allocations: 70.14 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.9148, allocations: 30.55 kB / 1.309 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.708e-05/0.9149, allocations: 24.67 kB / 1.309 GB, free: 15.51 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.004207/0.9191, allocations: 2.563 MB / 1.312 GB, free: 14.62 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9191, allocations: 0 / 1.312 GB, free: 14.62 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003298/0.9224, allocations: 1.029 MB / 1.313 GB, free: 14.51 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.004277/0.9267, allocations: 2.226 MB / 1.315 GB, free: 13.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.007286/0.934, allocations: 4.549 MB / 1.319 GB, free: 12.02 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.934, allocations: 4.344 kB / 1.319 GB, free: 12.02 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.9351, allocations: 473.7 kB / 1.32 GB, free: 11.92 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005097/0.9402, allocations: 1.323 MB / 1.321 GB, free: 11.51 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03955/0.9797, allocations: 27.26 MB / 1.348 GB, free: 5.039 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/0.9814, allocations: 1.777 MB / 1.35 GB, free: 3.23 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002865/0.9842, allocations: 0.7895 MB / 1.35 GB, free: 2.457 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/0.9857, allocations: 1.034 MB / 1.351 GB, free: 1.422 MB / 1.029 GB Notification: Performance of SimCode: time 8.92e-07/0.9857, allocations: 0 / 1.351 GB, free: 1.422 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.787/2.773, allocations: 79.63 MB / 1.429 GB, free: 3.113 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.63/23.41, allocations: 13.67 kB / 1.429 GB, free: 3.105 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed.fmu > Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe 2>&1)