Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.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.ControlledFlowMachineDynamic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic",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.437/1.437, allocations: 249.5 MB / 257 MB, free: 6.879 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.001096/0.001096, allocations: 172.9 kB / 316.3 MB, free: 3.305 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.354/1.354, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.000828/0.000828, allocations: 82.55 kB / 0.6714 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.466e-05/1.468e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1721, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.866/5.038, allocations: 2.236 GB / 3.121 GB, free: 127 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/5.039, allocations: 91.89 kB / 3.122 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 16.17/21.21, allocations: 4.213 GB / 7.334 GB, free: 80.99 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.884e-06/21.21, allocations: 3.281 kB / 7.334 GB, free: 80.99 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.001326/21.21, allocations: 164.1 kB / 7.334 GB, free: 80.97 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: 825 * Number of variables: 825 Notification: Performance of Generate backend data structure: time 0.02373/21.24, allocations: 6.08 MB / 7.34 GB, free: 78.29 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/21.24, allocations: 8.25 kB / 7.34 GB, free: 78.29 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01397/21.25, allocations: 1.66 MB / 7.342 GB, free: 77.89 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02957/21.28, allocations: 11.19 MB / 7.353 GB, free: 76.71 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/21.28, allocations: 109.7 kB / 7.353 GB, free: 76.7 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00141/21.28, allocations: 228.3 kB / 7.353 GB, free: 76.7 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007297/21.29, allocations: 3.476 MB / 7.357 GB, free: 76.68 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006952/21.29, allocations: 3.83 MB / 7.36 GB, free: 76.24 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.639e-05/21.3, allocations: 5.562 kB / 7.36 GB, free: 76.24 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000351/21.3, allocations: 7.703 kB / 7.36 GB, free: 76.24 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.399e-05/21.3, allocations: 114.3 kB / 7.361 GB, free: 76.23 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.03317/21.33, allocations: 19.57 MB / 7.38 GB, free: 68.67 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006121/21.33, allocations: 3.706 MB / 7.383 GB, free: 68.25 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00227/21.34, allocations: 1.667 MB / 7.385 GB, free: 68.23 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003776/21.34, allocations: 230.5 kB / 7.385 GB, free: 68.04 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002376/21.34, allocations: 1.716 MB / 7.387 GB, free: 67.97 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003957/21.34, allocations: 282.4 kB / 7.387 GB, free: 67.86 MB / 1.026 GB Notification: Performance of pre-optimization done (n=207): time 7.644e-06/21.34, allocations: 0 / 7.387 GB, free: 67.86 MB / 1.026 GB Notification: Performance of matching and sorting (n=207): time 0.007992/21.35, allocations: 3.797 MB / 7.391 GB, free: 67.46 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/21.35, allocations: 342.7 kB / 7.391 GB, free: 67.09 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01145/21.36, allocations: 5.906 MB / 7.397 GB, free: 66.7 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001135/21.36, allocations: 33.08 kB / 7.397 GB, free: 66.66 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.003183/21.37, allocations: 2.853 MB / 7.4 GB, free: 65.98 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.001361/21.37, allocations: 0.6911 MB / 7.4 GB, free: 65.51 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/21.37, allocations: 0 / 7.4 GB, free: 65.51 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.00019/21.37, allocations: 436.6 kB / 7.401 GB, free: 65.2 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002241/21.37, allocations: 1.596 MB / 7.402 GB, free: 65.19 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0028/21.37, allocations: 2.868 MB / 7.405 GB, free: 63.66 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003512/21.38, allocations: 2.048 MB / 7.407 GB, free: 63.6 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.919e-05/21.38, allocations: 7.344 kB / 7.407 GB, free: 63.6 MB / 1.026 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.009605/21.39, allocations: 5.035 MB / 7.412 GB, free: 63.17 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.002929/21.39, allocations: 14.72 MB / 7.426 GB, free: 47.82 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000104/21.39, allocations: 43.17 kB / 7.426 GB, free: 47.81 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009787/21.39, allocations: 440.1 kB / 7.427 GB, free: 47.8 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00399/21.4, allocations: 0.7284 MB / 7.428 GB, free: 47.8 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003804/21.4, allocations: 4.491 MB / 7.432 GB, free: 45 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006407/21.41, allocations: 287.7 kB / 7.432 GB, free: 44.97 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/21.41, allocations: 271.2 kB / 7.433 GB, free: 44.97 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/21.41, allocations: 4.969 kB / 7.433 GB, free: 44.97 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007359/21.41, allocations: 3.892 MB / 7.436 GB, free: 44.87 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/21.41, allocations: 37.81 kB / 7.436 GB, free: 44.87 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/21.42, allocations: 0.5297 MB / 7.437 GB, free: 44.85 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002803/21.42, allocations: 0.7126 MB / 7.438 GB, free: 44.85 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009381/21.43, allocations: 6.999 MB / 7.444 GB, free: 41.74 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00705/21.44, allocations: 276.8 kB / 7.445 GB, free: 41.71 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/21.44, allocations: 238.7 kB / 7.445 GB, free: 41.71 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (359): * Single equations (assignments): 341 * Array equations: 8 * Algorithm blocks: 1 * Record equations: 4 * 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.001259/21.44, allocations: 208.2 kB / 7.445 GB, free: 41.59 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006192/21.44, allocations: 2.822 MB / 7.448 GB, free: 41.16 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001884/21.45, allocations: 0.5521 MB / 7.448 GB, free: 40.86 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006631/21.45, allocations: 3.118 MB / 7.451 GB, free: 40.67 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/21.45, allocations: 18.69 kB / 7.451 GB, free: 40.67 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/21.45, allocations: 2.156 kB / 7.451 GB, free: 40.67 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003574/21.46, allocations: 2.663 MB / 7.454 GB, free: 40.14 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.01831/21.47, allocations: 8.519 MB / 7.462 GB, free: 39.31 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/21.47, allocations: 2.844 kB / 7.462 GB, free: 39.31 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002668/21.48, allocations: 0.5408 MB / 7.463 GB, free: 39.31 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003888/21.48, allocations: 171.7 kB / 7.463 GB, free: 39.29 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001941/21.48, allocations: 41.47 kB / 7.463 GB, free: 39.29 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/21.48, allocations: 3.358 MB / 7.466 GB, free: 36.49 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/21.48, allocations: 3.062 kB / 7.466 GB, free: 36.49 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007691/21.49, allocations: 4.801 MB / 7.471 GB, free: 35.5 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003937/21.49, allocations: 1.223 MB / 7.472 GB, free: 34.77 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00194/21.49, allocations: 19.75 kB / 7.472 GB, free: 34.76 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004655/21.5, allocations: 305.2 kB / 7.473 GB, free: 34.75 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002821/21.5, allocations: 137.9 kB / 7.473 GB, free: 34.73 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002238/21.5, allocations: 106.7 kB / 7.473 GB, free: 34.71 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.007763/21.51, allocations: 4.416 MB / 7.477 GB, free: 32.83 MB / 1.026 GB Notification: Performance of sort global known variables: time 3.01e-07/21.51, allocations: 3.062 kB / 7.477 GB, free: 32.83 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.01416/21.52, allocations: 3.282 MB / 7.48 GB, free: 32.01 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 20 (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],fan3.filter.x[1],fan3.filter.x[2],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan2.filter.x[1],fan2.filter.x[2],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1],fan4.filter.x[1],fan4.filter.x[2]) * 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 (203): * Single equations (assignments): 196 * 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.02321/21.54, allocations: 16.86 MB / 7.497 GB, free: 22.95 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01181/21.56, allocations: 6.464 MB / 7.503 GB, free: 20.34 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.589e-05/21.56, allocations: 3.812 kB / 7.503 GB, free: 20.34 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.002248/21.56, allocations: 1.256 MB / 7.504 GB, free: 19.92 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01795/21.58, allocations: 3.054 MB / 7.507 GB, free: 19.28 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02455/21.6, allocations: 10.3 MB / 7.517 GB, free: 12.13 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003256/21.6, allocations: 3.634 MB / 7.521 GB, free: 9.465 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.01227/21.62, allocations: 2.863 MB / 7.524 GB, free: 7.633 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003562/21.62, allocations: 2.593 MB / 7.526 GB, free: 5.238 MB / 1.026 GB Notification: Performance of SimCode: time 9.62e-07/21.62, allocations: 0 / 7.526 GB, free: 5.238 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.193/22.81, allocations: 221.6 MB / 7.743 GB, free: 84.21 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/22.81, allocations: 190.4 kB / 7.743 GB, free: 84 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/34.08, allocations: 0 / 7.743 GB, free: 84 MB / 1.057 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)