Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.992/2.992, allocations: 287.3 MB / 302.3 MB, free: 8.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001685/0.001685, allocations: 193.4 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.335/2.335, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 96.08 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007529/0.0007531, allocations: 16.19 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.24, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.ControlledFlowMachine): time 1.314/1.554, allocations: 300.9 MB / 1.272 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.107/1.661, allocations: 45.25 MB / 1.316 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009039/1.67, allocations: 147 kB / 1.316 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.01393/1.684, allocations: 2.621 MB / 1.319 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.03586/1.72, allocations: 7.59 MB / 1.326 GB, free: 4.676 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.02537/1.745, allocations: 5.231 MB / 1.332 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.02251/1.768, allocations: 7.52 MB / 1.339 GB, free: 7.957 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01009/1.778, allocations: 3.428 MB / 1.342 GB, free: 4.48 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02092/1.799, allocations: 5.312 MB / 1.347 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008544/1.808, allocations: 2.74 MB / 1.35 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.002667/1.81, allocations: 236 kB / 1.35 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01505/1.826, allocations: 3.031 MB / 1.353 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.004887/1.831, allocations: 2.041 MB / 1.355 GB, free: 7.086 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.004668/1.835, allocations: 1.358 MB / 1.357 GB, free: 5.719 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0188/1.854, allocations: 8.296 MB / 1.365 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/1.854, allocations: 3.938 kB / 1.365 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.677e-06/1.854, allocations: 0 / 1.365 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0003804/1.855, allocations: 0 / 1.365 GB, free: 13.4 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 744 * Number of variables: 744 Notification: Performance of Generate backend data structure: time 0.02737/1.882, allocations: 6.88 MB / 1.371 GB, free: 6.418 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/1.882, allocations: 8.031 kB / 1.371 GB, free: 6.41 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001861/1.884, allocations: 409 kB / 1.372 GB, free: 6 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01448/1.898, allocations: 1.459 MB / 1.373 GB, free: 4.531 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03094/1.929, allocations: 10.89 MB / 1.384 GB, free: 9.555 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004535/1.93, allocations: 257.8 kB / 1.384 GB, free: 9.301 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001742/1.932, allocations: 343.9 kB / 1.384 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01509/1.947, allocations: 3.929 MB / 1.388 GB, free: 4.922 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001471/1.947, allocations: 3.984 kB / 1.388 GB, free: 4.918 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001125/1.948, allocations: 120 kB / 1.388 GB, free: 4.801 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002105/1.948, allocations: 113.6 kB / 1.389 GB, free: 4.688 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01161/1.96, allocations: 2.801 MB / 1.391 GB, free: 1.875 MB / 0.9167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04526/2.005, allocations: 17.95 MB / 1.409 GB, free: 14.71 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007965/2.013, allocations: 2.15 MB / 1.411 GB, free: 12.55 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003574/2.014, allocations: 45.88 kB / 1.411 GB, free: 12.51 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005258/2.019, allocations: 1.604 MB / 1.412 GB, free: 10.89 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00418/2.023, allocations: 389.2 kB / 1.413 GB, free: 10.51 MB / 0.948 GB Notification: Performance of pre-optimization done (n=176): time 1.04e-05/2.023, allocations: 0 / 1.413 GB, free: 10.51 MB / 0.948 GB Notification: Performance of matching and sorting (n=176): time 0.01629/2.04, allocations: 3.648 MB / 1.416 GB, free: 6.812 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/2.04, allocations: 158.3 kB / 1.417 GB, free: 6.629 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02228/2.062, allocations: 8.543 MB / 1.425 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0008655/2.063, allocations: 81.7 kB / 1.425 GB, free: 14 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.004849/2.068, allocations: 2.674 MB / 1.428 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001499/2.07, allocations: 0.6123 MB / 1.428 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003979/2.07, allocations: 48 kB / 1.428 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003753/2.07, allocations: 424.1 kB / 1.429 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004298/2.075, allocations: 1.266 MB / 1.43 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005785/2.081, allocations: 2.467 MB / 1.432 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005279/2.086, allocations: 1.62 MB / 1.434 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.872e-05/2.086, allocations: 8 kB / 1.434 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01495/2.101, allocations: 4.271 MB / 1.438 GB, free: 4 kB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.6871/2.788, allocations: 15.04 MB / 1.453 GB, free: 342.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001799/2.788, allocations: 36.09 kB / 1.453 GB, free: 342.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001842/2.79, allocations: 280.8 kB / 1.453 GB, free: 342.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006698/2.797, allocations: 0.6438 MB / 1.454 GB, free: 342.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00521/2.802, allocations: 3.751 MB / 1.457 GB, free: 339.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008365/2.811, allocations: 320 kB / 1.458 GB, free: 339.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001171/2.812, allocations: 240.6 kB / 1.458 GB, free: 339.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/2.812, allocations: 3.656 kB / 1.458 GB, free: 339.5 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01562/2.828, allocations: 4.643 MB / 1.462 GB, free: 337.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000184/2.828, allocations: 31.41 kB / 1.462 GB, free: 337.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003244/2.831, allocations: 0.6693 MB / 1.463 GB, free: 337.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005573/2.837, allocations: 0.6221 MB / 1.464 GB, free: 337.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02047/2.857, allocations: 8.696 MB / 1.472 GB, free: 332.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008/2.865, allocations: 321.6 kB / 1.472 GB, free: 332.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001144/2.867, allocations: 207.3 kB / 1.473 GB, free: 332.7 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 312 * Array equations: 5 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.005127/2.872, allocations: 1.529 MB / 1.474 GB, free: 331.9 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001773/2.874, allocations: 0.5235 MB / 1.475 GB, free: 331.9 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/2.885, allocations: 2.921 MB / 1.478 GB, free: 330.8 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.44e-05/2.885, allocations: 16.97 kB / 1.478 GB, free: 330.8 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/2.885, allocations: 3.656 kB / 1.478 GB, free: 330.8 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007346/2.892, allocations: 2.469 MB / 1.48 GB, free: 329.6 MB / 0.9636 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03001/2.922, allocations: 7.136 MB / 1.487 GB, free: 326.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-05/2.922, allocations: 2.125 kB / 1.487 GB, free: 326.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006823/2.929, allocations: 496.3 kB / 1.487 GB, free: 326.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001838/2.931, allocations: 269.4 kB / 1.488 GB, free: 326.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006626/2.932, allocations: 56.95 kB / 1.488 GB, free: 326.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004561/2.936, allocations: 3.499 MB / 1.491 GB, free: 323.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.394e-05/2.936, allocations: 10.19 kB / 1.491 GB, free: 323.2 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02002/2.956, allocations: 4.406 MB / 1.495 GB, free: 321.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005549/2.962, allocations: 0.8443 MB / 1.496 GB, free: 320.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002786/2.965, allocations: 42.09 kB / 1.496 GB, free: 320.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009386/2.974, allocations: 304.5 kB / 1.497 GB, free: 320.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009351/2.975, allocations: 128.9 kB / 1.497 GB, free: 320.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004984/2.976, allocations: 87.28 kB / 1.497 GB, free: 320.4 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.02309/2.999, allocations: 6.161 MB / 1.503 GB, free: 318.1 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.21e-07/2.999, allocations: 0 / 1.503 GB, free: 318.1 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01995/3.019, allocations: 2.581 MB / 1.505 GB, free: 317.8 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 14 (fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.vol.dynBal.mXi[1],fan1.filter.x[1],fan1.filter.x[2],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan3.vol.dynBal.mXi[1],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (174): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.02172/3.041, allocations: 5.806 MB / 1.511 GB, free: 314.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02876/3.07, allocations: 5.725 MB / 1.517 GB, free: 312.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.945e-05/3.07, allocations: 448 / 1.517 GB, free: 312.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.006702/3.077, allocations: 1.178 MB / 1.518 GB, free: 312.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02941/3.106, allocations: 3.167 MB / 1.521 GB, free: 309.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04/3.146, allocations: 35.6 MB / 1.556 GB, free: 273.1 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006157/3.152, allocations: 3.42 MB / 1.559 GB, free: 269.7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01182/3.164, allocations: 1.489 MB / 1.56 GB, free: 268.2 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006129/3.17, allocations: 2.534 MB / 1.563 GB, free: 265.7 MB / 0.9636 GB Notification: Performance of SimCode: time 1.012e-06/3.17, allocations: 0 / 1.563 GB, free: 265.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4242/3.595, allocations: 168.8 MB / 1.728 GB, free: 97.79 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/3.595, allocations: 255.7 kB / 1.728 GB, free: 97.43 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/14.53, allocations: 0 / 1.728 GB, free: 97.43 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)