Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_ControlledFlowMachine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_ControlledFlowMachine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9154/0.9154, allocations: 143.4 MB / 158.3 MB, free: 5.656 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 183.4 kB / 191.5 MB, free: 5.66 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 223.2 MB / 447.7 MB, free: 4.859 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 88.38 kB / 0.5187 GB, free: 1.215 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001933/0.001933, allocations: 273.8 kB / 0.6005 GB, free: 48.78 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004627/0.000463, allocations: 15.16 kB / 0.6929 GB, free: 59.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.185, allocations: 82.8 MB / 0.7738 GB, free: 13.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.936/5.121, allocations: 1.91 GB / 2.684 GB, free: 165.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004089/5.121, allocations: 99.58 kB / 2.684 GB, free: 165.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 18.76/23.88, allocations: 4.385 GB / 7.069 GB, free: 58.61 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.535e-06/23.88, allocations: 0.5 kB / 7.069 GB, free: 58.61 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001231/23.88, allocations: 144.8 kB / 7.069 GB, free: 58.59 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 743 * Number of variables: 743 Notification: Performance of Generate backend data structure: time 0.04316/23.92, allocations: 10.51 MB / 7.08 GB, free: 55.59 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.566e-05/23.92, allocations: 11.59 kB / 7.08 GB, free: 55.59 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003092/23.93, allocations: 403.8 kB / 7.08 GB, free: 55.54 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01501/23.94, allocations: 1.438 MB / 7.081 GB, free: 55.18 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03473/23.98, allocations: 10.84 MB / 7.092 GB, free: 54.04 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007311/23.98, allocations: 258.7 kB / 7.092 GB, free: 54.04 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003141/23.98, allocations: 351.5 kB / 7.093 GB, free: 54.03 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01745/24, allocations: 3.933 MB / 7.096 GB, free: 53.68 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002605/24, allocations: 4.375 kB / 7.096 GB, free: 53.68 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00154/24, allocations: 123 kB / 7.097 GB, free: 53.68 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001721/24, allocations: 104.7 kB / 7.097 GB, free: 53.67 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008659/24.01, allocations: 2.952 MB / 7.1 GB, free: 53.63 MB / 0.8698 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.04133/24.05, allocations: 19.34 MB / 7.118 GB, free: 45.71 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005856/24.06, allocations: 2.701 MB / 7.121 GB, free: 45.28 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004343/24.06, allocations: 226 kB / 7.121 GB, free: 45.09 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002817/24.06, allocations: 1.671 MB / 7.123 GB, free: 45.01 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00453/24.07, allocations: 412.2 kB / 7.123 GB, free: 44.89 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=180): time 1.787e-05/24.07, allocations: 1.875 kB / 7.123 GB, free: 44.89 MB / 0.8698 GB Notification: Performance of matching and sorting (n=180): time 0.009458/24.07, allocations: 3.843 MB / 7.127 GB, free: 44.31 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.123e-05/24.07, allocations: 72.56 kB / 7.127 GB, free: 44.25 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01524/24.09, allocations: 6.229 MB / 7.133 GB, free: 43.86 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001326/24.09, allocations: 83.73 kB / 7.133 GB, free: 43.83 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004564/24.1, allocations: 2.644 MB / 7.136 GB, free: 43.24 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001659/24.1, allocations: 0.6235 MB / 7.136 GB, free: 42.83 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003091/24.1, allocations: 54.47 kB / 7.137 GB, free: 42.83 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003277/24.1, allocations: 419.3 kB / 7.137 GB, free: 42.52 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002175/24.1, allocations: 1.151 MB / 7.138 GB, free: 42.52 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002929/24.1, allocations: 2.396 MB / 7.14 GB, free: 41.02 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002601/24.11, allocations: 1.504 MB / 7.142 GB, free: 40.96 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-05/24.11, allocations: 10.36 kB / 7.142 GB, free: 40.96 MB / 0.8698 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.009598/24.12, allocations: 4.038 MB / 7.146 GB, free: 40.55 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00427/24.12, allocations: 15.06 MB / 7.161 GB, free: 25.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001046/24.12, allocations: 28.22 kB / 7.161 GB, free: 25.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/24.12, allocations: 248.8 kB / 7.161 GB, free: 25.29 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003956/24.13, allocations: 0.6516 MB / 7.161 GB, free: 25.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002823/24.13, allocations: 3.436 MB / 7.165 GB, free: 22.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007075/24.14, allocations: 332.5 kB / 7.165 GB, free: 22.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001079/24.14, allocations: 254 kB / 7.165 GB, free: 22.46 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/24.14, allocations: 8.562 kB / 7.165 GB, free: 22.46 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008362/24.14, allocations: 3.975 MB / 7.169 GB, free: 22.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/24.14, allocations: 30.38 kB / 7.169 GB, free: 22.36 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/24.15, allocations: 0.5411 MB / 7.17 GB, free: 22.34 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002894/24.15, allocations: 0.6574 MB / 7.17 GB, free: 22.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/24.16, allocations: 7.431 MB / 7.178 GB, free: 19.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00713/24.17, allocations: 325.5 kB / 7.178 GB, free: 19.17 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/24.17, allocations: 222.2 kB / 7.178 GB, free: 19.17 MB / 0.8698 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 (324): * Single equations (assignments): 314 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * 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.005319/24.17, allocations: 1.535 MB / 7.18 GB, free: 18.96 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001977/24.18, allocations: 0.5205 MB / 7.18 GB, free: 18.67 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006899/24.18, allocations: 3.011 MB / 7.183 GB, free: 18.48 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/24.18, allocations: 25.19 kB / 7.183 GB, free: 18.47 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/24.18, allocations: 0 / 7.183 GB, free: 18.47 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003704/24.19, allocations: 2.567 MB / 7.186 GB, free: 17.95 MB / 0.8698 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.01953/24.21, allocations: 8.337 MB / 7.194 GB, free: 33.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/24.21, allocations: 4.125 kB / 7.194 GB, free: 33.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002357/24.21, allocations: 496.6 kB / 7.194 GB, free: 33.08 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006875/24.21, allocations: 227.4 kB / 7.195 GB, free: 33.06 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001992/24.21, allocations: 55.95 kB / 7.195 GB, free: 33.06 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002769/24.21, allocations: 3.303 MB / 7.198 GB, free: 30.26 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/24.21, allocations: 0 / 7.198 GB, free: 30.26 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008522/24.22, allocations: 4.606 MB / 7.202 GB, free: 29.27 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004678/24.23, allocations: 1.153 MB / 7.203 GB, free: 28.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002091/24.23, allocations: 39.38 kB / 7.203 GB, free: 28.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004698/24.23, allocations: 315.2 kB / 7.204 GB, free: 28.86 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003013/24.23, allocations: 119.9 kB / 7.204 GB, free: 28.86 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00022/24.23, allocations: 95.03 kB / 7.204 GB, free: 28.86 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.009968/24.24, allocations: 4.76 MB / 7.209 GB, free: 28.65 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.72e-07/24.24, allocations: 0 / 7.209 GB, free: 28.65 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01686/24.26, allocations: 3.413 MB / 7.212 GB, free: 28.35 MB / 0.8855 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.s[1],fan1.filter.s[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 (176): * Single equations (assignments): 169 * 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.0264/24.29, allocations: 16.27 MB / 7.228 GB, free: 20.66 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01066/24.3, allocations: 5.31 MB / 7.233 GB, free: 20.24 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.258e-06/24.3, allocations: 3.594 kB / 7.233 GB, free: 20.24 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002314/24.3, allocations: 1.209 MB / 7.234 GB, free: 20.22 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01544/24.31, allocations: 3.141 MB / 7.237 GB, free: 20.15 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0429/24.36, allocations: 35.68 MB / 7.272 GB, free: 8.41 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004811/24.36, allocations: 3.415 MB / 7.275 GB, free: 7.531 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.008698/24.37, allocations: 1.56 MB / 7.277 GB, free: 7.328 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004915/24.38, allocations: 2.554 MB / 7.279 GB, free: 6.59 MB / 0.9011 GB Notification: Performance of SimCode: time 9.92e-07/24.38, allocations: 0 / 7.279 GB, free: 6.59 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.266/25.64, allocations: 272.5 MB / 7.546 GB, free: 55.81 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/25.64, allocations: 263.7 kB / 7.546 GB, free: 55.46 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/38.68, allocations: 3.516 kB / 7.546 GB, free: 55.46 MB / 0.9011 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_ControlledFlowMachine_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_ControlledFlowMachine.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)