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 1.693/1.693, allocations: 287.4 MB / 302.5 MB, free: 8.305 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.0009233/0.0009234, allocations: 178.7 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0008417/0.0008416, allocations: 92.78 kB / 0.7431 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.0003981, allocations: 12.03 kB / 0.8662 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2134, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.ControlledFlowMachine): time 0.8106/1.024, allocations: 341.6 MB / 1.312 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.06141/1.085, allocations: 47.35 MB / 1.359 GB, free: 6.5 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008656/1.094, allocations: 154.9 kB / 1.359 GB, free: 6.348 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.008485/1.103, allocations: 1.98 MB / 1.361 GB, free: 4.355 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.02181/1.125, allocations: 6.557 MB / 1.367 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.01371/1.138, allocations: 4.194 MB / 1.371 GB, free: 9.602 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.02423/1.163, allocations: 15.1 MB / 1.386 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007932/1.171, allocations: 3.768 MB / 1.39 GB, free: 6.617 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01561/1.186, allocations: 5.82 MB / 1.395 GB, free: 0.7734 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008121/1.194, allocations: 4.098 MB / 1.399 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.002287/1.197, allocations: 240 kB / 1.399 GB, free: 12.43 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01376/1.21, allocations: 3.672 MB / 1.403 GB, free: 8.75 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.005184/1.216, allocations: 2.286 MB / 1.405 GB, free: 6.457 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.004234/1.22, allocations: 1.362 MB / 1.407 GB, free: 5.086 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01397/1.234, allocations: 8.869 MB / 1.415 GB, free: 12.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.234, allocations: 0 / 1.415 GB, free: 12.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.573e-06/1.234, allocations: 0 / 1.415 GB, free: 12.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004262/1.234, allocations: 0 / 1.415 GB, free: 12.2 MB / 0.948 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.01663/1.251, allocations: 6.975 MB / 1.422 GB, free: 5.121 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/1.251, allocations: 8.031 kB / 1.422 GB, free: 5.113 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001562/1.253, allocations: 405 kB / 1.422 GB, free: 4.707 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008873/1.262, allocations: 1.455 MB / 1.424 GB, free: 3.242 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4767/1.738, allocations: 8.495 MB / 1.432 GB, free: 345.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003067/1.739, allocations: 258.6 kB / 1.432 GB, free: 345.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/1.74, allocations: 350.1 kB / 1.433 GB, free: 345.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009247/1.749, allocations: 4.127 MB / 1.437 GB, free: 344 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.126e-05/1.749, allocations: 5.625 kB / 1.437 GB, free: 344 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002907/1.749, allocations: 125.2 kB / 1.437 GB, free: 343.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001393/1.75, allocations: 108.5 kB / 1.437 GB, free: 343.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007229/1.757, allocations: 3.002 MB / 1.44 GB, free: 342.8 MB / 0.948 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.02989/1.787, allocations: 18.71 MB / 1.458 GB, free: 330.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004778/1.792, allocations: 2.348 MB / 1.461 GB, free: 329.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002028/1.794, allocations: 1.271 MB / 1.462 GB, free: 329.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002987/1.794, allocations: 226.6 kB / 1.462 GB, free: 328.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0026/1.797, allocations: 1.804 MB / 1.464 GB, free: 328.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002903/1.8, allocations: 369.9 kB / 1.464 GB, free: 328.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=176): time 5.18e-06/1.8, allocations: 1.25 kB / 1.464 GB, free: 328.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=176): time 0.007883/1.807, allocations: 3.982 MB / 1.468 GB, free: 326.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/1.808, allocations: 149.4 kB / 1.468 GB, free: 326.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01154/1.819, allocations: 8.726 MB / 1.477 GB, free: 322.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006932/1.82, allocations: 88.55 kB / 1.477 GB, free: 322 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002213/1.822, allocations: 2.642 MB / 1.479 GB, free: 319.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001263/1.823, allocations: 0.6086 MB / 1.48 GB, free: 319.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/1.824, allocations: 55.84 kB / 1.48 GB, free: 319.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001756/1.824, allocations: 421.8 kB / 1.48 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002462/1.826, allocations: 1.376 MB / 1.482 GB, free: 318.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002404/1.829, allocations: 2.587 MB / 1.484 GB, free: 315.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003985/1.833, allocations: 3.892 MB / 1.488 GB, free: 313.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/1.833, allocations: 9.875 kB / 1.488 GB, free: 313.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.006225/1.839, allocations: 4.474 MB / 1.492 GB, free: 310.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003421/1.839, allocations: 1.035 MB / 1.493 GB, free: 309.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.894e-05/1.839, allocations: 38.78 kB / 1.493 GB, free: 309.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000855/1.84, allocations: 292.5 kB / 1.494 GB, free: 309.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002575/1.843, allocations: 0.6333 MB / 1.494 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/1.845, allocations: 3.778 MB / 1.498 GB, free: 305.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004532/1.849, allocations: 315.9 kB / 1.498 GB, free: 305.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003592/1.85, allocations: 219.5 kB / 1.499 GB, free: 305.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/1.85, allocations: 7.688 kB / 1.499 GB, free: 305.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006163/1.856, allocations: 4.862 MB / 1.503 GB, free: 301.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.638e-05/1.856, allocations: 31.97 kB / 1.503 GB, free: 301.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/1.858, allocations: 0.6818 MB / 1.504 GB, free: 300.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00231/1.86, allocations: 0.6132 MB / 1.505 GB, free: 300.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009837/1.87, allocations: 8.763 MB / 1.513 GB, free: 291.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004789/1.874, allocations: 328.3 kB / 1.513 GB, free: 290.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005832/1.875, allocations: 199.6 kB / 1.514 GB, free: 290.6 MB / 0.948 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 (322): * Single equations (assignments): 310 * 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 6,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.003413/1.879, allocations: 1.528 MB / 1.515 GB, free: 289.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001394/1.88, allocations: 0.5206 MB / 1.516 GB, free: 288.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005145/1.885, allocations: 3.08 MB / 1.519 GB, free: 285.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/1.885, allocations: 20 kB / 1.519 GB, free: 285.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/1.885, allocations: 0 / 1.519 GB, free: 285.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003153/1.888, allocations: 2.696 MB / 1.521 GB, free: 282.7 MB / 0.948 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.01366/1.902, allocations: 7.567 MB / 1.529 GB, free: 275 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/1.902, allocations: 7.984 kB / 1.529 GB, free: 275 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002051/1.904, allocations: 491.6 kB / 1.529 GB, free: 274.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005693/1.905, allocations: 278.7 kB / 1.529 GB, free: 274.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002144/1.905, allocations: 51.98 kB / 1.53 GB, free: 274.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/1.906, allocations: 3.531 MB / 1.533 GB, free: 270.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.907, allocations: 7.875 kB / 1.533 GB, free: 270.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00614/1.913, allocations: 4.489 MB / 1.537 GB, free: 266 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002372/1.915, allocations: 0.8806 MB / 1.538 GB, free: 265.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001267/1.916, allocations: 43.98 kB / 1.538 GB, free: 265 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003488/1.92, allocations: 303 kB / 1.539 GB, free: 264.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/1.92, allocations: 129.7 kB / 1.539 GB, free: 264.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/1.92, allocations: 75.97 kB / 1.539 GB, free: 264.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007265/1.928, allocations: 6.29 MB / 1.545 GB, free: 258.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.3e-07/1.928, allocations: 0 / 1.545 GB, free: 258.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008478/1.936, allocations: 2.594 MB / 1.547 GB, free: 255.7 MB / 0.948 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 (172): * Single equations (assignments): 165 * 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 7,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.008032/1.944, allocations: 5.555 MB / 1.553 GB, free: 250.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01021/1.954, allocations: 6.053 MB / 1.559 GB, free: 244.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.954, allocations: 448 / 1.559 GB, free: 244.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002073/1.956, allocations: 1.275 MB / 1.56 GB, free: 242.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01571/1.972, allocations: 3.137 MB / 1.563 GB, free: 239.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09433/2.067, allocations: 53.86 MB / 1.616 GB, free: 182.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003428/2.07, allocations: 3.315 MB / 1.619 GB, free: 179 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006723/2.077, allocations: 1.43 MB / 1.62 GB, free: 177.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003448/2.08, allocations: 2.51 MB / 1.623 GB, free: 175.1 MB / 0.948 GB Notification: Performance of SimCode: time 7.51e-07/2.08, allocations: 0 / 1.623 GB, free: 175.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6311/2.711, allocations: 174.9 MB / 1.794 GB, free: 1.082 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/2.712, allocations: 249.3 kB / 1.794 GB, free: 0.7539 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.587/11.3, allocations: 3.234 kB / 1.794 GB, free: 0.7539 MB / 0.948 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)