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.6968/0.6968, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 190.8 kB / 187.3 MB, free: 11.89 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.247/1.247, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0007889/0.000789, allocations: 100.7 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001633/0.001633, allocations: 272.9 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.52e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3622, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.595/3.958, allocations: 1.91 GB / 2.675 GB, free: 135 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/3.958, allocations: 91.95 kB / 2.675 GB, free: 134.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 14.28/18.24, allocations: 4.382 GB / 7.056 GB, free: 57.33 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.934e-06/18.24, allocations: 0 / 7.056 GB, free: 57.33 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000828/18.24, allocations: 142.9 kB / 7.056 GB, free: 57.31 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.01944/18.26, allocations: 5.69 MB / 7.062 GB, free: 54.87 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/18.26, allocations: 8.875 kB / 7.062 GB, free: 54.87 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001524/18.26, allocations: 409.4 kB / 7.062 GB, free: 54.82 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/18.27, allocations: 1.43 MB / 7.064 GB, free: 54.46 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0246/18.29, allocations: 10.75 MB / 7.074 GB, free: 53.33 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003219/18.29, allocations: 255.7 kB / 7.075 GB, free: 53.32 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001379/18.29, allocations: 351.6 kB / 7.075 GB, free: 53.32 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009298/18.3, allocations: 3.841 MB / 7.079 GB, free: 52.96 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000159/18.3, allocations: 9.547 kB / 7.079 GB, free: 52.96 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008123/18.3, allocations: 124.2 kB / 7.079 GB, free: 52.96 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/18.3, allocations: 109.8 kB / 7.079 GB, free: 52.95 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00586/18.31, allocations: 2.819 MB / 7.082 GB, free: 52.91 MB / 0.8698 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.03086/18.34, allocations: 19.35 MB / 7.101 GB, free: 45 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004775/18.35, allocations: 2.606 MB / 7.103 GB, free: 44.55 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001992/18.35, allocations: 1.194 MB / 7.104 GB, free: 44.54 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000389/18.35, allocations: 229.4 kB / 7.104 GB, free: 44.35 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002537/18.35, allocations: 1.613 MB / 7.106 GB, free: 44.27 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003604/18.36, allocations: 399.3 kB / 7.106 GB, free: 44.16 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=180): time 1.555e-05/18.36, allocations: 0 / 7.106 GB, free: 44.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=180): time 0.005904/18.36, allocations: 2.608 MB / 7.109 GB, free: 43.77 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/18.36, allocations: 75.38 kB / 7.109 GB, free: 43.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01212/18.37, allocations: 6.165 MB / 7.115 GB, free: 43.29 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007729/18.37, allocations: 84.02 kB / 7.115 GB, free: 43.26 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00301/18.38, allocations: 2.655 MB / 7.118 GB, free: 42.67 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001062/18.38, allocations: 0.6248 MB / 7.118 GB, free: 42.27 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005111/18.38, allocations: 47.75 kB / 7.118 GB, free: 42.27 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000245/18.38, allocations: 424 kB / 7.119 GB, free: 41.96 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001965/18.38, allocations: 1.094 MB / 7.12 GB, free: 41.95 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002428/18.38, allocations: 2.331 MB / 7.122 GB, free: 40.46 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002283/18.39, allocations: 1.467 MB / 7.124 GB, free: 40.39 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.171e-05/18.39, allocations: 9.906 kB / 7.124 GB, free: 40.39 MB / 0.8698 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.007018/18.39, allocations: 3.926 MB / 7.127 GB, free: 39.97 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002559/18.4, allocations: 15.05 MB / 7.142 GB, free: 24.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-05/18.4, allocations: 29.5 kB / 7.142 GB, free: 24.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007169/18.4, allocations: 251.4 kB / 7.142 GB, free: 24.72 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002979/18.4, allocations: 0.6575 MB / 7.143 GB, free: 24.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/18.4, allocations: 3.449 MB / 7.146 GB, free: 21.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005171/18.41, allocations: 326.6 kB / 7.147 GB, free: 21.89 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005364/18.41, allocations: 260.1 kB / 7.147 GB, free: 21.89 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/18.41, allocations: 10.27 kB / 7.147 GB, free: 21.89 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006598/18.41, allocations: 3.862 MB / 7.151 GB, free: 21.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/18.41, allocations: 29.44 kB / 7.151 GB, free: 21.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/18.42, allocations: 0.5598 MB / 7.151 GB, free: 21.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002424/18.42, allocations: 0.6485 MB / 7.152 GB, free: 21.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00929/18.43, allocations: 7.299 MB / 7.159 GB, free: 18.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005659/18.43, allocations: 320.3 kB / 7.159 GB, free: 18.53 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007693/18.43, allocations: 228.2 kB / 7.16 GB, free: 18.53 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 312 * 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 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.00133/18.43, allocations: 288.3 kB / 7.16 GB, free: 18.39 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00167/18.44, allocations: 0.5204 MB / 7.16 GB, free: 18.11 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006811/18.44, allocations: 2.931 MB / 7.163 GB, free: 17.91 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/18.44, allocations: 18.62 kB / 7.163 GB, free: 17.91 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/18.44, allocations: 0 / 7.163 GB, free: 17.91 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003289/18.45, allocations: 2.48 MB / 7.166 GB, free: 17.39 MB / 0.8698 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.01644/18.46, allocations: 8.309 MB / 7.174 GB, free: 16.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/18.46, allocations: 3.156 kB / 7.174 GB, free: 16.51 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002139/18.47, allocations: 482 kB / 7.174 GB, free: 16.51 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005646/18.47, allocations: 243.3 kB / 7.175 GB, free: 16.48 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002102/18.47, allocations: 57.58 kB / 7.175 GB, free: 16.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/18.47, allocations: 3.291 MB / 7.178 GB, free: 29.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/18.47, allocations: 0 / 7.178 GB, free: 29.68 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006011/18.47, allocations: 4.454 MB / 7.182 GB, free: 28.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003523/18.48, allocations: 1.147 MB / 7.183 GB, free: 28.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001784/18.48, allocations: 40.2 kB / 7.183 GB, free: 28.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004206/18.48, allocations: 310.4 kB / 7.184 GB, free: 28.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002437/18.48, allocations: 125.4 kB / 7.184 GB, free: 28.29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001939/18.48, allocations: 91.97 kB / 7.184 GB, free: 28.29 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00873/18.49, allocations: 4.689 MB / 7.188 GB, free: 28.05 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.412e-06/18.49, allocations: 3.828 kB / 7.188 GB, free: 28.05 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01326/18.51, allocations: 3.415 MB / 7.192 GB, free: 27.74 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) * 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.02106/18.53, allocations: 16.13 MB / 7.207 GB, free: 20.06 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0101/18.54, allocations: 5.357 MB / 7.213 GB, free: 19.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/18.54, allocations: 0 / 7.213 GB, free: 19.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002247/18.54, allocations: 1.156 MB / 7.214 GB, free: 19.58 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01552/18.56, allocations: 3.141 MB / 7.217 GB, free: 19.52 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0225/18.58, allocations: 9.689 MB / 7.226 GB, free: 16.81 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003742/18.58, allocations: 3.427 MB / 7.23 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01064/18.59, allocations: 2.831 MB / 7.232 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002965/18.6, allocations: 2.407 MB / 7.235 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of SimCode: time 8.51e-07/18.6, allocations: 0 / 7.235 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9227/19.52, allocations: 295.5 MB / 7.523 GB, free: 55.12 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/19.52, allocations: 247 kB / 7.524 GB, free: 54.78 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/31.05, allocations: 0 / 7.524 GB, free: 54.78 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)