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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.004807/0.004807, allocations: 98.77 kB / 15.73 MB, free: 6.031 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.001311/0.001311, allocations: 194.1 kB / 16.67 MB, free: 5.953 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.529/2.529, allocations: 482.6 MB / 0.755 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 64.27 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.323, allocations: 162.3 MB / 1.242 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.006281/0.3293, allocations: 4.925 MB / 1.247 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008896/0.3383, allocations: 5.583 MB / 1.252 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005212/0.3388, allocations: 23.94 kB / 1.252 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003534/0.3424, allocations: 1.521 MB / 1.254 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.3445, allocations: 1.132 MB / 1.255 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002112/0.3466, allocations: 1.178 MB / 1.256 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.4584/0.805, allocations: 13.63 MB / 1.269 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002677/0.8053, allocations: 149.1 kB / 1.269 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.8064, allocations: 0.8642 MB / 1.27 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009453/0.8073, allocations: 0.8716 MB / 1.271 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.8075, allocations: 96 kB / 1.271 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.8096, allocations: 1.377 MB / 1.272 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009496/0.8106, allocations: 1.165 MB / 1.274 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.8117, allocations: 1.251 MB / 1.275 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004148/0.8159, allocations: 4.016 MB / 1.279 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8159, allocations: 4 kB / 1.279 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8159, allocations: 0 / 1.279 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.527e-05/0.8159, allocations: 0 / 1.279 GB, free: 3.027 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.004811/0.8208, allocations: 3.171 MB / 1.282 GB, free: 15.78 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.8208, allocations: 16.03 kB / 1.282 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.264e-05/0.8209, allocations: 62.53 kB / 1.282 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003508/0.8244, allocations: 0.7279 MB / 1.283 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006503/0.8309, allocations: 4.4 MB / 1.287 GB, free: 10.51 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/0.831, allocations: 32.56 kB / 1.287 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.8311, allocations: 51.75 kB / 1.287 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.8328, allocations: 0.9806 MB / 1.288 GB, free: 9.449 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.8329, allocations: 8 kB / 1.288 GB, free: 9.441 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.977e-05/0.8329, allocations: 8 kB / 1.288 GB, free: 9.434 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.833, allocations: 11.94 kB / 1.288 GB, free: 9.422 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00202/0.835, allocations: 0.8453 MB / 1.289 GB, free: 8.574 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004667/0.8397, allocations: 3.25 MB / 1.292 GB, free: 5.266 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/0.8419, allocations: 1.144 MB / 1.293 GB, free: 4.113 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.8429, allocations: 453.1 kB / 1.294 GB, free: 3.668 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.861e-05/0.843, allocations: 20.2 kB / 1.294 GB, free: 3.648 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.843, allocations: 38.84 kB / 1.294 GB, free: 3.602 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.033e-06/0.843, allocations: 0 / 1.294 GB, free: 3.602 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.003663/0.8467, allocations: 1.634 MB / 1.295 GB, free: 1.961 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.8467, allocations: 55.41 kB / 1.295 GB, free: 1.895 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004694/0.8515, allocations: 3.818 MB / 1.299 GB, free: 14.08 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.888e-05/0.8515, allocations: 41.7 kB / 1.299 GB, free: 14.04 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009443/0.8525, allocations: 1.002 MB / 1.3 GB, free: 13.03 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.8526, allocations: 135 kB / 1.3 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006748/0.8533, allocations: 0.5237 MB / 1.301 GB, free: 12.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.8534, allocations: 301.1 kB / 1.301 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002577/0.856, allocations: 1.849 MB / 1.303 GB, free: 10.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002989/0.859, allocations: 2.367 MB / 1.305 GB, free: 7.664 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00504/0.8641, allocations: 3.883 MB / 1.309 GB, free: 3.633 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.8641, allocations: 3.938 kB / 1.309 GB, free: 3.629 MB / 1.029 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.006432/0.8705, allocations: 4.535 MB / 1.313 GB, free: 15.09 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.8706, allocations: 13.56 kB / 1.313 GB, free: 15.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.8706, allocations: 11.98 kB / 1.313 GB, free: 15.06 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.518e-05/0.8706, allocations: 20 kB / 1.313 GB, free: 15.04 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.8721, allocations: 383.6 kB / 1.314 GB, free: 14.67 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.308e-05/0.8721, allocations: 27.86 kB / 1.314 GB, free: 14.64 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.8738, allocations: 275.3 kB / 1.314 GB, free: 14.37 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/0.874, allocations: 108.1 kB / 1.314 GB, free: 14.27 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003131/0.8771, allocations: 2.183 MB / 1.316 GB, free: 12.08 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002728/0.8799, allocations: 2.073 MB / 1.318 GB, free: 9.832 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004543/0.8844, allocations: 3.307 MB / 1.321 GB, free: 6.367 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.889e-06/0.8845, allocations: 7.938 kB / 1.321 GB, free: 6.359 MB / 1.045 GB Notification: Performance of matching and sorting (n=305) (initialization_lambda0): time 0.005884/0.8903, allocations: 3.939 MB / 1.325 GB, free: 2.414 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.8904, allocations: 11.94 kB / 1.325 GB, free: 2.402 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.8904, allocations: 12 kB / 1.325 GB, free: 2.391 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.8904, allocations: 20 kB / 1.325 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.8918, allocations: 379.5 kB / 1.326 GB, free: 2 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.382e-05/0.8919, allocations: 27.92 kB / 1.326 GB, free: 1.973 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.8937, allocations: 223 kB / 1.326 GB, free: 1.754 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.8939, allocations: 95.97 kB / 1.326 GB, free: 1.66 MB / 1.045 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.0003717/0.8942, allocations: 259.8 kB / 1.326 GB, free: 1.398 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003513/0.8946, allocations: 278 kB / 1.327 GB, free: 1.125 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002845/0.8974, allocations: 1.229 MB / 1.328 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.8975, allocations: 8 kB / 1.328 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.8975, allocations: 0 / 1.328 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.8975, allocations: 3.984 kB / 1.328 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.8994, allocations: 1.524 MB / 1.329 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.8994, allocations: 3.938 kB / 1.329 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007061/0.9001, allocations: 127.8 kB / 1.329 GB, free: 14.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.9001, allocations: 0 / 1.329 GB, free: 14.17 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.372e-05/0.9001, allocations: 19.92 kB / 1.329 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.9002, allocations: 0 / 1.329 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.9002, allocations: 0 / 1.329 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/0.9026, allocations: 1.323 MB / 1.331 GB, free: 12.81 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007232/0.9034, allocations: 0.5027 MB / 1.331 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/0.9037, allocations: 8 kB / 1.331 GB, free: 12.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.9047, allocations: 67.92 kB / 1.331 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.711e-05/0.9048, allocations: 27.97 kB / 1.331 GB, free: 12.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.938e-05/0.9048, allocations: 19.98 kB / 1.331 GB, free: 12.17 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003548/0.9084, allocations: 2.571 MB / 1.334 GB, free: 9.609 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.2e-07/0.9084, allocations: 0 / 1.334 GB, free: 9.609 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002524/0.9109, allocations: 1.034 MB / 1.335 GB, free: 8.574 MB / 1.061 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.003764/0.9147, allocations: 2.217 MB / 1.337 GB, free: 6.328 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006789/0.9215, allocations: 4.598 MB / 1.341 GB, free: 1.738 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9215, allocations: 0.75 kB / 1.341 GB, free: 1.738 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.9226, allocations: 475.5 kB / 1.342 GB, free: 1.273 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004259/0.9268, allocations: 1.321 MB / 1.343 GB, free: 15.97 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03806/0.9649, allocations: 27.27 MB / 1.37 GB, free: 4.223 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001544/0.9665, allocations: 1.785 MB / 1.372 GB, free: 2.406 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002633/0.9691, allocations: 0.794 MB / 1.372 GB, free: 1.605 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/0.9706, allocations: 1.03 MB / 1.373 GB, free: 0.5742 MB / 1.092 GB Notification: Performance of SimCode: time 8.22e-07/0.9706, allocations: 0 / 1.373 GB, free: 0.5742 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.947/4.918, allocations: 79.66 MB / 1.451 GB, free: 2.035 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.39/26.31, allocations: 11.47 kB / 1.451 GB, free: 2.023 MB / 1.17 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=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe 2>&1)