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.00142/0.00142, allocations: 113 kB / 19.73 MB, free: 2.242 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.001332/0.001332, allocations: 213.6 kB / 23.04 MB, free: 5.074 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.294/1.294, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 179] 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 2.868/2.868, allocations: 0.5003 GB / 0.8062 GB, free: 26.76 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.00179/0.00179, allocations: 66.11 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.278, allocations: 179 MB / 1.345 GB, free: 432 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.005952/0.284, allocations: 4.969 MB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.008367/0.2923, allocations: 5.695 MB / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003582/0.2927, allocations: 35.81 kB / 1.356 GB, free: 5.68 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003249/0.2959, allocations: 1.608 MB / 1.357 GB, free: 4.066 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.2978, allocations: 1.179 MB / 1.359 GB, free: 2.883 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.2999, allocations: 1.215 MB / 1.36 GB, free: 1.668 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01962/0.3195, allocations: 14.16 MB / 1.374 GB, free: 3.5 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.3197, allocations: 98.98 kB / 1.374 GB, free: 3.391 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.321, allocations: 0.8994 MB / 1.374 GB, free: 2.488 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.3221, allocations: 0.9378 MB / 1.375 GB, free: 1.547 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.3222, allocations: 96 kB / 1.375 GB, free: 1.453 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002507/0.3247, allocations: 1.665 MB / 1.377 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0009361/0.3256, allocations: 1.172 MB / 1.378 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.3267, allocations: 1.251 MB / 1.379 GB, free: 13.35 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004032/0.3308, allocations: 4.051 MB / 1.383 GB, free: 9.285 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3308, allocations: 0 / 1.383 GB, free: 9.285 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3308, allocations: 0 / 1.383 GB, free: 9.285 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.362e-05/0.3308, allocations: 0 / 1.383 GB, free: 9.285 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.005008/0.3358, allocations: 3.103 MB / 1.386 GB, free: 6.129 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3359, allocations: 8.031 kB / 1.386 GB, free: 6.121 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.144e-05/0.3359, allocations: 8.656 kB / 1.386 GB, free: 6.109 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.898e-05/0.3359, allocations: 62.53 kB / 1.387 GB, free: 6.039 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003479/0.3394, allocations: 0.728 MB / 1.387 GB, free: 5.309 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006729/0.3462, allocations: 4.308 MB / 1.391 GB, free: 0.957 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.085e-05/0.3462, allocations: 32.64 kB / 1.392 GB, free: 0.9219 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.3463, allocations: 48 kB / 1.392 GB, free: 0.875 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/0.3481, allocations: 1.009 MB / 1.393 GB, free: 15.86 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3481, allocations: 0 / 1.393 GB, free: 15.86 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.096e-05/0.3482, allocations: 12 kB / 1.393 GB, free: 15.85 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3482, allocations: 4 kB / 1.393 GB, free: 15.85 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/0.3502, allocations: 0.8574 MB / 1.393 GB, free: 14.99 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005364/0.3556, allocations: 3.222 MB / 1.397 GB, free: 11.71 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002257/0.3579, allocations: 1.14 MB / 1.398 GB, free: 10.56 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.3589, allocations: 453.1 kB / 1.398 GB, free: 10.12 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 6.527e-05/0.359, allocations: 24.2 kB / 1.398 GB, free: 10.09 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.359, allocations: 30.84 kB / 1.398 GB, free: 10.05 MB / 1.092 GB Notification: Performance of pre-optimization done (n=33): time 1.974e-06/0.359, allocations: 0 / 1.398 GB, free: 10.05 MB / 1.092 GB Notification: Performance of matching and sorting (n=33): time 0.003874/0.3629, allocations: 1.657 MB / 1.4 GB, free: 8.391 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.3629, allocations: 59.41 kB / 1.4 GB, free: 8.32 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005126/0.368, allocations: 3.81 MB / 1.404 GB, free: 4.516 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001771/0.3682, allocations: 41.7 kB / 1.404 GB, free: 4.469 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009626/0.3692, allocations: 1.013 MB / 1.405 GB, free: 3.449 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.3693, allocations: 127 kB / 1.405 GB, free: 3.324 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007208/0.3701, allocations: 0.5237 MB / 1.405 GB, free: 2.797 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3702, allocations: 301.1 kB / 1.405 GB, free: 2.5 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002699/0.3729, allocations: 1.861 MB / 1.407 GB, free: 0.6328 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003086/0.376, allocations: 2.402 MB / 1.41 GB, free: 14.05 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005219/0.3812, allocations: 3.93 MB / 1.413 GB, free: 9.977 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.3812, allocations: 7.938 kB / 1.413 GB, free: 9.969 MB / 1.107 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.00679/0.388, allocations: 4.567 MB / 1.418 GB, free: 5.391 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.388, allocations: 15.98 kB / 1.418 GB, free: 5.375 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.388, allocations: 8 kB / 1.418 GB, free: 5.367 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/0.3881, allocations: 20 kB / 1.418 GB, free: 5.348 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.3895, allocations: 383.4 kB / 1.418 GB, free: 4.973 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.653e-05/0.3896, allocations: 28.05 kB / 1.418 GB, free: 4.945 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/0.3914, allocations: 274.3 kB / 1.419 GB, free: 4.676 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/0.3916, allocations: 112 kB / 1.419 GB, free: 4.566 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003171/0.3948, allocations: 2.198 MB / 1.421 GB, free: 2.359 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002686/0.3975, allocations: 2.104 MB / 1.423 GB, free: 88 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004532/0.402, allocations: 3.334 MB / 1.426 GB, free: 12.6 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.243e-06/0.402, allocations: 4 kB / 1.426 GB, free: 12.6 MB / 1.123 GB Notification: Performance of matching and sorting (n=305) (initialization_lambda0): time 0.005857/0.4078, allocations: 3.966 MB / 1.43 GB, free: 8.621 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.4079, allocations: 12 kB / 1.43 GB, free: 8.609 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.4079, allocations: 12 kB / 1.43 GB, free: 8.598 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.4079, allocations: 20.03 kB / 1.43 GB, free: 8.578 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.4093, allocations: 375.5 kB / 1.43 GB, free: 8.211 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.296e-05/0.4093, allocations: 31.92 kB / 1.431 GB, free: 8.18 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.4111, allocations: 219 kB / 1.431 GB, free: 7.965 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.4113, allocations: 95.97 kB / 1.431 GB, free: 7.871 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.0003284/0.4116, allocations: 264.4 kB / 1.431 GB, free: 7.605 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003636/0.412, allocations: 278 kB / 1.431 GB, free: 7.332 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002789/0.4148, allocations: 1.24 MB / 1.433 GB, free: 6.082 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.4148, allocations: 4 kB / 1.433 GB, free: 6.078 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4148, allocations: 3.938 kB / 1.433 GB, free: 6.074 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.4148, allocations: 3.984 kB / 1.433 GB, free: 6.07 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.4166, allocations: 1.489 MB / 1.434 GB, free: 4.539 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4166, allocations: 3.938 kB / 1.434 GB, free: 4.535 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007103/0.4173, allocations: 123.9 kB / 1.434 GB, free: 4.414 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.4173, allocations: 7.938 kB / 1.434 GB, free: 4.406 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.89e-05/0.4173, allocations: 15.98 kB / 1.434 GB, free: 4.391 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4173, allocations: 0 / 1.434 GB, free: 4.391 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4173, allocations: 4 kB / 1.434 GB, free: 4.387 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/0.4198, allocations: 1.33 MB / 1.435 GB, free: 3.039 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008621/0.4207, allocations: 433.8 kB / 1.436 GB, free: 2.613 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003044/0.421, allocations: 7.984 kB / 1.436 GB, free: 2.605 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.422, allocations: 71.92 kB / 1.436 GB, free: 2.535 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.544e-05/0.4221, allocations: 31.95 kB / 1.436 GB, free: 2.504 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/0.4221, allocations: 15.98 kB / 1.436 GB, free: 2.488 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003536/0.4257, allocations: 2.571 MB / 1.438 GB, free: 15.93 MB / 1.139 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4257, allocations: 0 / 1.438 GB, free: 15.93 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00269/0.4284, allocations: 1.031 MB / 1.44 GB, free: 14.9 MB / 1.139 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.003802/0.4322, allocations: 2.232 MB / 1.442 GB, free: 12.63 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.006602/0.4388, allocations: 4.253 MB / 1.446 GB, free: 8.383 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4388, allocations: 0 / 1.446 GB, free: 8.383 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.4398, allocations: 473.1 kB / 1.446 GB, free: 7.922 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004108/0.4439, allocations: 1.321 MB / 1.448 GB, free: 6.621 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03609/0.48, allocations: 27.41 MB / 1.474 GB, free: 10.73 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001509/0.4815, allocations: 1.773 MB / 1.476 GB, free: 8.926 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002434/0.4839, allocations: 0.7979 MB / 1.477 GB, free: 8.121 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001376/0.4853, allocations: 1.038 MB / 1.478 GB, free: 7.082 MB / 1.17 GB Notification: Performance of SimCode: time 7.82e-07/0.4853, allocations: 0 / 1.478 GB, free: 7.082 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1259/0.6112, allocations: 80.32 MB / 1.556 GB, free: 7.844 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.47/17.08, allocations: 4.062 kB / 1.556 GB, free: 7.84 MB / 1.248 GB " [Timeout remaining time 283] (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: 23.007373055035714] Failed to read output from testmodel.py, exit status != 0: 17.285914852982387 17.311687028 16.976039456 Calling exit ...