Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_ControlledFlowMachine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_ControlledFlowMachine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.386/1.386, allocations: 249.5 MB / 257 MB, free: 6.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001268/0.001267, allocations: 180.2 kB / 316.3 MB, free: 3.141 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.3 MB / 0.5671 GB, free: 15.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007632/0.0007632, allocations: 89.33 kB / 0.6714 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.997e-05/1.997e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1962, allocations: 106.4 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.173/5.369, allocations: 2.236 GB / 3.122 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/5.369, allocations: 88.08 kB / 3.122 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 16.76/22.13, allocations: 4.166 GB / 7.288 GB, free: 80.91 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.054e-06/22.13, allocations: 0 / 7.288 GB, free: 80.91 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.001197/22.13, allocations: 148.5 kB / 7.288 GB, free: 80.89 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 752 * Number of variables: 752 Notification: Performance of Generate backend data structure: time 0.0238/22.16, allocations: 5.746 MB / 7.294 GB, free: 78.47 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 6.729e-05/22.16, allocations: 8.969 kB / 7.294 GB, free: 78.47 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01482/22.17, allocations: 1.441 MB / 7.295 GB, free: 78.11 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03041/22.2, allocations: 10.84 MB / 7.306 GB, free: 76.96 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000259/22.2, allocations: 99.59 kB / 7.306 GB, free: 76.96 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001734/22.21, allocations: 210.1 kB / 7.306 GB, free: 76.96 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007963/22.21, allocations: 3.227 MB / 7.309 GB, free: 76.94 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01226/22.23, allocations: 3.489 MB / 7.312 GB, free: 76.56 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003644/22.23, allocations: 6.906 kB / 7.312 GB, free: 76.56 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002318/22.23, allocations: 5.297 kB / 7.312 GB, free: 76.56 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000248/22.23, allocations: 104 kB / 7.313 GB, free: 76.55 MB / 1.026 GB Warning: The model contains alias variables with conflicting start and/or 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.04067/22.27, allocations: 18.8 MB / 7.331 GB, free: 68.74 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005216/22.27, allocations: 3.329 MB / 7.334 GB, free: 68.31 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002239/22.28, allocations: 1.539 MB / 7.336 GB, free: 68.29 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003564/22.28, allocations: 225.7 kB / 7.336 GB, free: 68.1 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002309/22.28, allocations: 1.565 MB / 7.337 GB, free: 68.02 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003492/22.28, allocations: 330.9 kB / 7.338 GB, free: 67.93 MB / 1.026 GB Notification: Performance of pre-optimization done (n=179): time 8.877e-06/22.28, allocations: 3.547 kB / 7.338 GB, free: 67.93 MB / 1.026 GB Notification: Performance of matching and sorting (n=179): time 0.007767/22.29, allocations: 3.506 MB / 7.341 GB, free: 67.54 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/22.29, allocations: 152.9 kB / 7.341 GB, free: 67.39 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01223/22.3, allocations: 5.723 MB / 7.347 GB, free: 67 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0008968/22.3, allocations: 31.45 kB / 7.347 GB, free: 66.97 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.003191/22.31, allocations: 2.658 MB / 7.349 GB, free: 66.33 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.001075/22.31, allocations: 0.5985 MB / 7.35 GB, free: 65.93 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/22.31, allocations: 0 / 7.35 GB, free: 65.93 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.000203/22.31, allocations: 421.9 kB / 7.35 GB, free: 65.62 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001915/22.31, allocations: 1.44 MB / 7.352 GB, free: 65.61 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00241/22.31, allocations: 2.669 MB / 7.354 GB, free: 64.11 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003293/22.32, allocations: 1.871 MB / 7.356 GB, free: 64.07 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.787e-05/22.32, allocations: 9.312 kB / 7.356 GB, free: 64.07 MB / 1.026 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.008515/22.32, allocations: 4.622 MB / 7.361 GB, free: 63.68 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.002755/22.33, allocations: 14.93 MB / 7.375 GB, free: 48.44 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.323e-05/22.33, allocations: 33.53 kB / 7.375 GB, free: 48.44 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/22.33, allocations: 434.9 kB / 7.376 GB, free: 48.43 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003427/22.33, allocations: 0.6452 MB / 7.376 GB, free: 48.43 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003771/22.34, allocations: 4.491 MB / 7.381 GB, free: 45.62 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006304/22.34, allocations: 274.8 kB / 7.381 GB, free: 45.59 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/22.34, allocations: 254.4 kB / 7.381 GB, free: 45.59 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/22.34, allocations: 4.062 kB / 7.381 GB, free: 45.59 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007389/22.35, allocations: 3.594 MB / 7.385 GB, free: 45.52 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001344/22.35, allocations: 35.62 kB / 7.385 GB, free: 45.52 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/22.35, allocations: 0.5275 MB / 7.385 GB, free: 45.51 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002752/22.36, allocations: 0.6481 MB / 7.386 GB, free: 45.51 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/22.37, allocations: 6.994 MB / 7.393 GB, free: 42.4 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006032/22.37, allocations: 269.8 kB / 7.393 GB, free: 42.38 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008519/22.37, allocations: 225.7 kB / 7.393 GB, free: 42.38 MB / 1.026 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 311 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.00103/22.37, allocations: 212.6 kB / 7.394 GB, free: 42.25 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005233/22.38, allocations: 2.53 MB / 7.396 GB, free: 41.86 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00144/22.38, allocations: 0.5094 MB / 7.397 GB, free: 41.57 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005776/22.39, allocations: 2.809 MB / 7.399 GB, free: 41.38 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/22.39, allocations: 19.72 kB / 7.399 GB, free: 41.38 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/22.39, allocations: 7.031 kB / 7.399 GB, free: 41.38 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003227/22.39, allocations: 2.403 MB / 7.402 GB, free: 40.86 MB / 1.026 GB Warning: The model contains alias variables with conflicting start and/or 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.01714/22.41, allocations: 7.897 MB / 7.409 GB, free: 40.02 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/22.41, allocations: 6.125 kB / 7.409 GB, free: 40.02 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002282/22.41, allocations: 488 kB / 7.41 GB, free: 40.01 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003786/22.41, allocations: 171 kB / 7.41 GB, free: 40 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000192/22.41, allocations: 33.81 kB / 7.41 GB, free: 40 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/22.41, allocations: 3.345 MB / 7.413 GB, free: 37.2 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/22.41, allocations: 0 / 7.413 GB, free: 37.2 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006471/22.42, allocations: 4.332 MB / 7.418 GB, free: 36.22 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003412/22.42, allocations: 1.146 MB / 7.419 GB, free: 35.84 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001591/22.42, allocations: 17.64 kB / 7.419 GB, free: 35.84 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005354/22.43, allocations: 289.7 kB / 7.419 GB, free: 35.82 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004194/22.43, allocations: 127.8 kB / 7.419 GB, free: 35.81 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002468/22.43, allocations: 92.14 kB / 7.419 GB, free: 35.81 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.008562/22.44, allocations: 4.281 MB / 7.423 GB, free: 35.6 MB / 1.026 GB Notification: Performance of sort global known variables: time 4.01e-07/22.44, allocations: 0 / 7.423 GB, free: 35.6 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.01307/22.45, allocations: 3.163 MB / 7.426 GB, free: 35.24 MB / 1.026 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 168 * 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 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02181/22.47, allocations: 16.37 MB / 7.442 GB, free: 27.66 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01069/22.48, allocations: 5.78 MB / 7.448 GB, free: 27.14 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/22.48, allocations: 1.375 kB / 7.448 GB, free: 27.14 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001984/22.48, allocations: 1.091 MB / 7.449 GB, free: 27.13 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01571/22.5, allocations: 2.951 MB / 7.452 GB, free: 27.07 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02473/22.53, allocations: 9.536 MB / 7.461 GB, free: 24.94 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002967/22.53, allocations: 3.463 MB / 7.465 GB, free: 24.1 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.01141/22.54, allocations: 2.732 MB / 7.467 GB, free: 24.05 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003214/22.54, allocations: 2.434 MB / 7.47 GB, free: 24.04 MB / 1.026 GB Notification: Performance of SimCode: time 6.61e-07/22.54, allocations: 0 / 7.47 GB, free: 24.04 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.237/23.78, allocations: 212.2 MB / 7.677 GB, free: 114.4 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/23.78, allocations: 187.1 kB / 7.677 GB, free: 114.2 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/35.44, allocations: 0 / 7.677 GB, free: 114.2 MB / 1.057 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_ControlledFlowMachine.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)