Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.921/1.921, allocations: 289.7 MB / 302.2 MB, free: 2.16 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.001098/0.001098, allocations: 182.5 kB / 371.6 MB, free: 3.383 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.681/1.681, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 90.98 kB / 0.745 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.152e-05/4.163e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2697, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.886/6.156, allocations: 2.119 GB / 3.098 GB, free: 75.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/6.156, allocations: 93.62 kB / 3.099 GB, free: 75.65 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 19.54/25.69, allocations: 4.379 GB / 7.478 GB, free: 14.86 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.825e-06/25.69, allocations: 0 / 7.478 GB, free: 14.86 MB / 1.12 GB Notification: Performance of Transformations before backend: time 0.002025/25.7, allocations: 159.8 kB / 7.478 GB, free: 14.71 MB / 1.12 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.03257/25.73, allocations: 6.067 MB / 7.484 GB, free: 8.566 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 7.523e-05/25.73, allocations: 12.03 kB / 7.484 GB, free: 8.555 MB / 1.12 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002989/25.73, allocations: 438.9 kB / 7.484 GB, free: 8.113 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01569/25.75, allocations: 1.654 MB / 7.486 GB, free: 6.449 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.098/26.85, allocations: 11.16 MB / 7.497 GB, free: 72.27 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007284/26.85, allocations: 280.2 kB / 7.497 GB, free: 72.26 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003048/26.85, allocations: 387.7 kB / 7.497 GB, free: 72.25 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02233/26.87, allocations: 4.277 MB / 7.501 GB, free: 71.8 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/26.87, allocations: 3.016 kB / 7.501 GB, free: 71.8 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006766/26.87, allocations: 136.4 kB / 7.501 GB, free: 71.8 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000244/26.87, allocations: 113.3 kB / 7.502 GB, free: 71.8 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/26.88, allocations: 3.071 MB / 7.505 GB, free: 71.77 MB / 1.12 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.04925/26.93, allocations: 20.18 MB / 7.524 GB, free: 64.28 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006766/26.94, allocations: 3.003 MB / 7.527 GB, free: 63.86 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002705/26.94, allocations: 1.327 MB / 7.529 GB, free: 63.85 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004693/26.94, allocations: 228.8 kB / 7.529 GB, free: 63.66 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003192/26.95, allocations: 1.776 MB / 7.53 GB, free: 63.58 MB / 1.12 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004654/26.95, allocations: 360.9 kB / 7.531 GB, free: 63.52 MB / 1.12 GB Notification: Performance of pre-optimization done (n=207): time 2.049e-05/26.95, allocations: 1.969 kB / 7.531 GB, free: 63.52 MB / 1.12 GB Notification: Performance of matching and sorting (n=207): time 0.008819/26.96, allocations: 2.906 MB / 7.534 GB, free: 63.11 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/26.96, allocations: 336.7 kB / 7.534 GB, free: 62.73 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01673/26.98, allocations: 6.381 MB / 7.54 GB, free: 62.34 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.001389/26.98, allocations: 94.86 kB / 7.54 GB, free: 62.3 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.004971/26.98, allocations: 2.831 MB / 7.543 GB, free: 61.82 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.001729/26.99, allocations: 0.7191 MB / 7.544 GB, free: 61.46 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003594/26.99, allocations: 59.67 kB / 7.544 GB, free: 61.46 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0003326/26.99, allocations: 434.5 kB / 7.544 GB, free: 61.15 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002216/26.99, allocations: 1.266 MB / 7.545 GB, free: 61.14 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002984/26.99, allocations: 2.571 MB / 7.548 GB, free: 59.61 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002863/26.99, allocations: 1.653 MB / 7.55 GB, free: 59.51 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.628e-05/26.99, allocations: 8.562 kB / 7.55 GB, free: 59.51 MB / 1.12 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01053/27, allocations: 4.376 MB / 7.554 GB, free: 59.05 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.004073/27.01, allocations: 14.86 MB / 7.568 GB, free: 43.19 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001564/27.01, allocations: 40.61 kB / 7.568 GB, free: 43.19 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009977/27.01, allocations: 250.1 kB / 7.569 GB, free: 43.17 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004338/27.01, allocations: 0.7314 MB / 7.569 GB, free: 43.17 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003077/27.02, allocations: 3.464 MB / 7.573 GB, free: 40.37 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008187/27.03, allocations: 343.8 kB / 7.573 GB, free: 40.36 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001388/27.03, allocations: 272.6 kB / 7.573 GB, free: 40.36 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 6.164e-05/27.03, allocations: 3.188 kB / 7.573 GB, free: 40.36 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008712/27.04, allocations: 4.219 MB / 7.577 GB, free: 40.23 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001675/27.04, allocations: 38.89 kB / 7.578 GB, free: 40.23 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/27.04, allocations: 0.5531 MB / 7.578 GB, free: 40.21 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003503/27.04, allocations: 0.7129 MB / 7.579 GB, free: 40.21 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/27.05, allocations: 7.254 MB / 7.586 GB, free: 53.02 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007718/27.06, allocations: 342.6 kB / 7.586 GB, free: 53.01 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00131/27.06, allocations: 242 kB / 7.586 GB, free: 53 MB / 1.135 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.00238/27.06, allocations: 304.9 kB / 7.587 GB, free: 52.9 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002826/27.07, allocations: 0.558 MB / 7.587 GB, free: 52.59 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/27.08, allocations: 3.256 MB / 7.59 GB, free: 52.39 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.482e-05/27.08, allocations: 21.34 kB / 7.59 GB, free: 52.39 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/27.08, allocations: 0 / 7.59 GB, free: 52.39 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005641/27.09, allocations: 2.729 MB / 7.593 GB, free: 51.88 MB / 1.135 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.02962/27.12, allocations: 8.974 MB / 7.602 GB, free: 51 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/27.12, allocations: 3.5 kB / 7.602 GB, free: 51 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003356/27.12, allocations: 0.5448 MB / 7.602 GB, free: 51 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000793/27.12, allocations: 230.9 kB / 7.603 GB, free: 50.98 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005565/27.12, allocations: 73.59 kB / 7.603 GB, free: 50.98 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002508/27.12, allocations: 3.29 MB / 7.606 GB, free: 48.18 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/27.12, allocations: 4.406 kB / 7.606 GB, free: 48.18 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/27.14, allocations: 4.947 MB / 7.611 GB, free: 47.17 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005908/27.14, allocations: 1.217 MB / 7.612 GB, free: 46.77 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003173/27.14, allocations: 54.95 kB / 7.612 GB, free: 46.77 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00648/27.15, allocations: 327.8 kB / 7.612 GB, free: 46.75 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008578/27.15, allocations: 142.3 kB / 7.612 GB, free: 46.75 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006843/27.15, allocations: 106.7 kB / 7.613 GB, free: 46.75 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.01526/27.17, allocations: 4.852 MB / 7.617 GB, free: 46.51 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.383e-06/27.17, allocations: 1.188 kB / 7.617 GB, free: 46.51 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.02045/27.19, allocations: 3.596 MB / 7.621 GB, free: 46.38 MB / 1.135 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.03151/27.22, allocations: 16.63 MB / 7.637 GB, free: 38.8 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.01714/27.24, allocations: 6.142 MB / 7.643 GB, free: 38.08 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-05/27.24, allocations: 2.422 kB / 7.643 GB, free: 38.08 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.004/27.24, allocations: 1.317 MB / 7.644 GB, free: 38.06 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0198/27.26, allocations: 3.26 MB / 7.648 GB, free: 37.98 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03661/27.3, allocations: 10.5 MB / 7.658 GB, free: 35.81 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007975/27.31, allocations: 3.614 MB / 7.661 GB, free: 34.97 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.01796/27.32, allocations: 2.956 MB / 7.664 GB, free: 34.91 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006003/27.33, allocations: 2.585 MB / 7.667 GB, free: 34.9 MB / 1.135 GB Notification: Performance of SimCode: time 2.815e-06/27.33, allocations: 1.094 kB / 7.667 GB, free: 34.9 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.569/28.9, allocations: 302.8 MB / 7.962 GB, free: 149 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/28.9, allocations: 239.2 kB / 7.963 GB, free: 148.7 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.31/46.21, allocations: 0 / 7.963 GB, free: 148.7 MB / 1.198 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic.fmu > Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)