Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.823/1.823, allocations: 288.2 MB / 303.2 MB, free: 8.184 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.001307/0.001307, allocations: 190.1 kB / 371.8 MB, free: 10.28 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.089/2.089, allocations: 205.4 MB / 0.6305 GB, free: 10 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.001108/0.001108, allocations: 98.84 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004515/0.0004515, allocations: 12.56 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2841, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.076/6.361, allocations: 2.118 GB / 3.097 GB, free: 147 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/6.361, allocations: 98.77 kB / 3.097 GB, free: 146.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 19.04/25.4, allocations: 4.383 GB / 7.48 GB, free: 40.77 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.986e-06/25.4, allocations: 0 / 7.48 GB, free: 40.77 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.00159/25.4, allocations: 161.2 kB / 7.48 GB, free: 40.62 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 817 * Number of variables: 817 Notification: Performance of Generate backend data structure: time 0.04729/25.45, allocations: 10.95 MB / 7.491 GB, free: 29.56 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/25.45, allocations: 12.03 kB / 7.491 GB, free: 29.55 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002759/25.45, allocations: 454.8 kB / 7.491 GB, free: 29.09 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01483/25.47, allocations: 1.654 MB / 7.493 GB, free: 27.43 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03494/25.5, allocations: 11.25 MB / 7.504 GB, free: 16.1 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005597/25.5, allocations: 282.4 kB / 7.504 GB, free: 15.82 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002696/25.51, allocations: 387.9 kB / 7.505 GB, free: 15.44 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01027/25.52, allocations: 4.371 MB / 7.509 GB, free: 10.92 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.753e-05/25.52, allocations: 7.922 kB / 7.509 GB, free: 10.91 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004359/25.52, allocations: 140 kB / 7.509 GB, free: 10.78 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.241e-05/25.52, allocations: 118.3 kB / 7.509 GB, free: 10.66 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007542/25.53, allocations: 3.237 MB / 7.512 GB, free: 7.414 MB / 1.104 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.05224/25.58, allocations: 20.17 MB / 7.532 GB, free: 2.102 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 1.108/26.69, allocations: 3.137 MB / 7.535 GB, free: 91.44 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006099/26.69, allocations: 228 kB / 7.535 GB, free: 91.25 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004935/26.69, allocations: 1.845 MB / 7.537 GB, free: 91.18 MB / 1.12 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004642/26.7, allocations: 360.2 kB / 7.537 GB, free: 91.18 MB / 1.12 GB Notification: Performance of pre-optimization done (n=207): time 2.542e-05/26.7, allocations: 1.562 kB / 7.537 GB, free: 91.18 MB / 1.12 GB Notification: Performance of matching and sorting (n=207): time 0.01365/26.71, allocations: 4.32 MB / 7.542 GB, free: 90.89 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001551/26.71, allocations: 336.4 kB / 7.542 GB, free: 90.51 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01932/26.73, allocations: 6.448 MB / 7.548 GB, free: 90.18 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.001344/26.73, allocations: 94.16 kB / 7.548 GB, free: 90.14 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.005062/26.74, allocations: 2.833 MB / 7.551 GB, free: 89.76 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.001807/26.74, allocations: 0.7191 MB / 7.552 GB, free: 89.39 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003104/26.74, allocations: 58.48 kB / 7.552 GB, free: 89.39 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0003729/26.74, allocations: 439.9 kB / 7.552 GB, free: 89.09 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003355/26.74, allocations: 1.343 MB / 7.554 GB, free: 89.08 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00431/26.75, allocations: 2.645 MB / 7.556 GB, free: 87.55 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003921/26.75, allocations: 1.715 MB / 7.558 GB, free: 87.47 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.948e-05/26.75, allocations: 8.844 kB / 7.558 GB, free: 87.47 MB / 1.12 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01052/26.76, allocations: 4.528 MB / 7.562 GB, free: 87 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.004123/26.76, allocations: 14.85 MB / 7.577 GB, free: 71.14 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001556/26.76, allocations: 40.75 kB / 7.577 GB, free: 71.14 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/26.77, allocations: 234.3 kB / 7.577 GB, free: 71.12 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004792/26.77, allocations: 0.7317 MB / 7.578 GB, free: 71.12 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003425/26.77, allocations: 3.448 MB / 7.581 GB, free: 68.32 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008203/26.78, allocations: 347 kB / 7.581 GB, free: 68.31 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001169/26.78, allocations: 279 kB / 7.582 GB, free: 68.31 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/26.78, allocations: 4.812 kB / 7.582 GB, free: 68.31 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008707/26.79, allocations: 4.324 MB / 7.586 GB, free: 68.18 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001459/26.79, allocations: 43.25 kB / 7.586 GB, free: 68.18 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/26.79, allocations: 0.5381 MB / 7.587 GB, free: 68.17 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003277/26.8, allocations: 0.7146 MB / 7.587 GB, free: 68.17 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/26.81, allocations: 7.399 MB / 7.594 GB, free: 65.04 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007418/26.82, allocations: 344.7 kB / 7.595 GB, free: 65.02 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001237/26.82, allocations: 236.4 kB / 7.595 GB, free: 65.02 MB / 1.12 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (361): * Single equations (assignments): 343 * 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 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.006171/26.82, allocations: 1.602 MB / 7.597 GB, free: 64.83 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002367/26.83, allocations: 0.5526 MB / 7.597 GB, free: 64.53 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/26.84, allocations: 3.387 MB / 7.6 GB, free: 64.33 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.117e-05/26.84, allocations: 23.44 kB / 7.6 GB, free: 64.33 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/26.84, allocations: 1.219 kB / 7.6 GB, free: 64.33 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006345/26.84, allocations: 2.87 MB / 7.603 GB, free: 63.81 MB / 1.12 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.02921/26.87, allocations: 9.039 MB / 7.612 GB, free: 62.96 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/26.87, allocations: 7.672 kB / 7.612 GB, free: 62.95 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003267/26.88, allocations: 0.5401 MB / 7.613 GB, free: 62.95 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006856/26.88, allocations: 243.2 kB / 7.613 GB, free: 62.93 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004726/26.88, allocations: 68.62 kB / 7.613 GB, free: 62.93 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/26.88, allocations: 3.292 MB / 7.616 GB, free: 60.13 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/26.88, allocations: 3.875 kB / 7.616 GB, free: 60.13 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01015/26.89, allocations: 5.153 MB / 7.621 GB, free: 59.13 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005282/26.89, allocations: 1.214 MB / 7.622 GB, free: 58.73 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002567/26.9, allocations: 50.78 kB / 7.622 GB, free: 58.73 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006093/26.9, allocations: 332 kB / 7.623 GB, free: 58.71 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007185/26.9, allocations: 142.1 kB / 7.623 GB, free: 58.71 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003414/26.9, allocations: 103.7 kB / 7.623 GB, free: 58.71 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.01231/26.92, allocations: 4.915 MB / 7.628 GB, free: 58.5 MB / 1.12 GB Notification: Performance of sort global known variables: time 5.81e-07/26.92, allocations: 2.578 kB / 7.628 GB, free: 58.5 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.01923/26.94, allocations: 3.604 MB / 7.631 GB, free: 58.36 MB / 1.12 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) * Number of clocked states: 0 () * 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.03017/26.97, allocations: 16.85 MB / 7.648 GB, free: 50.78 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.01565/26.98, allocations: 6.12 MB / 7.654 GB, free: 50.12 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.89e-05/26.98, allocations: 0.6719 kB / 7.654 GB, free: 50.12 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.00377/26.99, allocations: 1.383 MB / 7.655 GB, free: 50.1 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01773/27, allocations: 3.257 MB / 7.658 GB, free: 50.03 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05462/27.06, allocations: 36.17 MB / 7.694 GB, free: 38.97 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009781/27.07, allocations: 3.603 MB / 7.697 GB, free: 38.14 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.01203/27.08, allocations: 1.664 MB / 7.699 GB, free: 38.09 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007659/27.09, allocations: 2.739 MB / 7.701 GB, free: 38.08 MB / 1.135 GB Notification: Performance of SimCode: time 1.029e-05/27.09, allocations: 0 / 7.701 GB, free: 38.08 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.458/28.55, allocations: 280 MB / 7.975 GB, free: 141.2 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/28.55, allocations: 277.6 kB / 7.975 GB, free: 140.9 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.01/45.56, allocations: 0.7188 kB / 7.975 GB, free: 140.9 MB / 1.182 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)