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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 222.9 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.387/1.387, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.067/3.067, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 66.75 kB / 1.171 GB, free: 19.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3179, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.006126/0.324, allocations: 4.423 MB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.009441/0.3334, allocations: 5.313 MB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009641/0.3344, allocations: 31.81 kB / 1.355 GB, free: 6.16 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004063/0.3385, allocations: 1.53 MB / 1.356 GB, free: 4.625 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002854/0.3413, allocations: 1.205 MB / 1.357 GB, free: 3.418 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.3441, allocations: 1.213 MB / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02256/0.3667, allocations: 14.15 MB / 1.373 GB, free: 4.039 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003386/0.367, allocations: 87 kB / 1.373 GB, free: 3.941 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.3687, allocations: 0.9072 MB / 1.373 GB, free: 3.031 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/0.3703, allocations: 0.9339 MB / 1.374 GB, free: 2.094 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003373/0.3706, allocations: 100 kB / 1.374 GB, free: 1.996 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/0.3734, allocations: 1.405 MB / 1.376 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001238/0.3746, allocations: 1.169 MB / 1.377 GB, free: 15.42 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001697/0.3763, allocations: 0.9907 MB / 1.378 GB, free: 14.42 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005593/0.3819, allocations: 4.016 MB / 1.382 GB, free: 10.39 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3819, allocations: 0 / 1.382 GB, free: 10.39 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3819, allocations: 0 / 1.382 GB, free: 10.39 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.903e-05/0.382, allocations: 0 / 1.382 GB, free: 10.39 MB / 1.076 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.006346/0.3884, allocations: 3.099 MB / 1.385 GB, free: 7.238 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3884, allocations: 8.031 kB / 1.385 GB, free: 7.23 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.348e-05/0.3884, allocations: 8.656 kB / 1.385 GB, free: 7.219 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.356e-05/0.3885, allocations: 66.53 kB / 1.385 GB, free: 7.145 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004146/0.3926, allocations: 0.7241 MB / 1.386 GB, free: 6.418 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008138/0.4008, allocations: 4.316 MB / 1.39 GB, free: 2.059 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.256e-05/0.4008, allocations: 36.66 kB / 1.39 GB, free: 2.02 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.401, allocations: 44 kB / 1.39 GB, free: 1.977 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.403, allocations: 1.005 MB / 1.391 GB, free: 0.9688 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.403, allocations: 0 / 1.391 GB, free: 0.9688 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.557e-05/0.4031, allocations: 8 kB / 1.391 GB, free: 0.9609 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.4031, allocations: 8 kB / 1.391 GB, free: 0.9531 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.4052, allocations: 0.8574 MB / 1.392 GB, free: 96 kB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006389/0.4116, allocations: 2.902 MB / 1.395 GB, free: 13.14 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002326/0.4139, allocations: 1.132 MB / 1.396 GB, free: 12 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.4149, allocations: 449.1 kB / 1.396 GB, free: 11.55 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.078e-05/0.415, allocations: 16.27 kB / 1.396 GB, free: 11.54 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.4151, allocations: 38.78 kB / 1.396 GB, free: 11.49 MB / 1.092 GB Notification: Performance of pre-optimization done (n=33): time 2.605e-06/0.4151, allocations: 0 / 1.396 GB, free: 11.49 MB / 1.092 GB Notification: Performance of matching and sorting (n=33): time 0.004094/0.4191, allocations: 1.653 MB / 1.398 GB, free: 9.832 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.4192, allocations: 55.41 kB / 1.398 GB, free: 9.766 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005784/0.425, allocations: 3.814 MB / 1.402 GB, free: 5.957 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000194/0.4252, allocations: 37.7 kB / 1.402 GB, free: 5.914 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.4262, allocations: 1.013 MB / 1.403 GB, free: 4.895 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.4264, allocations: 138.9 kB / 1.403 GB, free: 4.758 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007604/0.4271, allocations: 0.5159 MB / 1.403 GB, free: 4.238 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.4272, allocations: 309.1 kB / 1.404 GB, free: 3.934 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002734/0.43, allocations: 1.861 MB / 1.405 GB, free: 2.066 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003306/0.4333, allocations: 2.549 MB / 1.408 GB, free: 15.3 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005425/0.4387, allocations: 3.926 MB / 1.412 GB, free: 11.23 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.4387, allocations: 11.94 kB / 1.412 GB, free: 11.22 MB / 1.107 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.007216/0.4459, allocations: 4.571 MB / 1.416 GB, free: 6.637 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.446, allocations: 12 kB / 1.416 GB, free: 6.625 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/0.446, allocations: 8 kB / 1.416 GB, free: 6.617 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.642e-05/0.446, allocations: 23.98 kB / 1.416 GB, free: 6.594 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.4476, allocations: 383.6 kB / 1.417 GB, free: 6.219 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.941e-05/0.4476, allocations: 23.92 kB / 1.417 GB, free: 6.195 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/0.4499, allocations: 266.3 kB / 1.417 GB, free: 5.934 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002214/0.4501, allocations: 115.9 kB / 1.417 GB, free: 5.82 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003446/0.4535, allocations: 2.191 MB / 1.419 GB, free: 3.621 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002973/0.4565, allocations: 2.251 MB / 1.421 GB, free: 1.164 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004854/0.4614, allocations: 3.334 MB / 1.425 GB, free: 13.68 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.769e-06/0.4614, allocations: 7.938 kB / 1.425 GB, free: 13.67 MB / 1.123 GB Notification: Performance of matching and sorting (n=305) (initialization_lambda0): time 0.006826/0.4682, allocations: 3.974 MB / 1.428 GB, free: 9.688 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.4682, allocations: 12 kB / 1.428 GB, free: 9.676 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.4683, allocations: 12 kB / 1.429 GB, free: 9.664 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.4683, allocations: 16 kB / 1.429 GB, free: 9.648 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.4698, allocations: 375.6 kB / 1.429 GB, free: 9.281 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.155e-05/0.4699, allocations: 35.8 kB / 1.429 GB, free: 9.246 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/0.4723, allocations: 223 kB / 1.429 GB, free: 9.027 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/0.4725, allocations: 95.97 kB / 1.429 GB, free: 8.934 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 1 (per3.haveWMot_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 182 * 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.0004151/0.4729, allocations: 255.8 kB / 1.429 GB, free: 8.676 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006693/0.4736, allocations: 278 kB / 1.43 GB, free: 8.402 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002985/0.4766, allocations: 1.247 MB / 1.431 GB, free: 7.145 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.4766, allocations: 4 kB / 1.431 GB, free: 7.141 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4766, allocations: 256 / 1.431 GB, free: 7.141 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4766, allocations: 11.92 kB / 1.431 GB, free: 7.129 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.4788, allocations: 1.267 MB / 1.432 GB, free: 5.82 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.4788, allocations: 4 kB / 1.432 GB, free: 5.816 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007812/0.4796, allocations: 123.8 kB / 1.432 GB, free: 5.695 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.4796, allocations: 4 kB / 1.432 GB, free: 5.691 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.472e-05/0.4797, allocations: 12 kB / 1.432 GB, free: 5.68 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.4797, allocations: 4 kB / 1.432 GB, free: 5.676 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4797, allocations: 0 / 1.432 GB, free: 5.676 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002765/0.4824, allocations: 1.327 MB / 1.434 GB, free: 4.332 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.4834, allocations: 441.7 kB / 1.434 GB, free: 3.898 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003973/0.4838, allocations: 8 kB / 1.434 GB, free: 3.891 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.485, allocations: 71.92 kB / 1.434 GB, free: 3.82 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.281e-05/0.485, allocations: 27.95 kB / 1.434 GB, free: 3.793 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.854e-05/0.4851, allocations: 19.98 kB / 1.434 GB, free: 3.773 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.004321/0.4894, allocations: 2.567 MB / 1.437 GB, free: 1.219 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4894, allocations: 0 / 1.437 GB, free: 1.219 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003388/0.4928, allocations: 1.042 MB / 1.438 GB, free: 180 kB / 1.123 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.004959/0.4978, allocations: 2.214 MB / 1.44 GB, free: 13.93 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.007695/0.5055, allocations: 4.253 MB / 1.444 GB, free: 9.68 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.5055, allocations: 0 / 1.444 GB, free: 9.68 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.5066, allocations: 472 kB / 1.444 GB, free: 9.219 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005385/0.5119, allocations: 1.326 MB / 1.446 GB, free: 7.91 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04381/0.5558, allocations: 27.4 MB / 1.473 GB, free: 12.03 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/0.5572, allocations: 1.196 MB / 1.474 GB, free: 10.8 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002999/0.5602, allocations: 0.7979 MB / 1.474 GB, free: 9.996 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00178/0.562, allocations: 1.03 MB / 1.475 GB, free: 8.965 MB / 1.17 GB Notification: Performance of SimCode: time 1.753e-06/0.562, allocations: 4 kB / 1.475 GB, free: 8.961 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1602/0.7221, allocations: 85.43 MB / 1.559 GB, free: 4.875 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.67/18.4, allocations: 2.75 kB / 1.559 GB, free: 4.875 MB / 1.248 GB " [Timeout remaining time 281] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 24.882343006087467] Failed to read output from testmodel.py, exit status != 0: 18.605031245970167 18.620140757 18.235150806 Calling exit ...