Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.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.ControlledFlowMachineDynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_ControlledFlowMachineDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_ControlledFlowMachineDynamic",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.8856/0.8856, allocations: 143.4 MB / 158.3 MB, free: 5.766 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.001213/0.001213, allocations: 177.7 kB / 191.5 MB, free: 5.746 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.631/1.631, allocations: 223.1 MB / 447.7 MB, free: 4.832 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.000974/0.0009742, allocations: 84.33 kB / 0.5187 GB, free: 1.195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001718/0.001718, allocations: 268.6 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004689/0.0004689, allocations: 15.22 kB / 0.6929 GB, free: 59.78 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2005, allocations: 82.79 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.056/5.257, allocations: 1.91 GB / 2.684 GB, free: 165.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/5.257, allocations: 103.9 kB / 2.684 GB, free: 165.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 18.92/24.18, allocations: 4.409 GB / 7.093 GB, free: 58.32 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.496e-06/24.18, allocations: 3.625 kB / 7.093 GB, free: 58.32 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001356/24.18, allocations: 148.4 kB / 7.093 GB, free: 58.3 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: 813 * Number of variables: 813 Notification: Performance of Generate backend data structure: time 0.04134/24.22, allocations: 10.83 MB / 7.104 GB, free: 55.06 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/24.22, allocations: 11.78 kB / 7.104 GB, free: 55.06 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002874/24.23, allocations: 448.6 kB / 7.104 GB, free: 55 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.014/24.24, allocations: 1.64 MB / 7.106 GB, free: 54.62 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03245/24.27, allocations: 11.08 MB / 7.117 GB, free: 53.46 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004198/24.27, allocations: 277.6 kB / 7.117 GB, free: 53.45 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001843/24.28, allocations: 381.1 kB / 7.117 GB, free: 53.45 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009742/24.29, allocations: 4.246 MB / 7.122 GB, free: 53.12 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.821e-05/24.29, allocations: 5.75 kB / 7.122 GB, free: 53.12 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003934/24.29, allocations: 131.8 kB / 7.122 GB, free: 53.12 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001193/24.29, allocations: 120.6 kB / 7.122 GB, free: 53.11 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006734/24.29, allocations: 3.255 MB / 7.125 GB, free: 53.07 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.04188/24.34, allocations: 20.13 MB / 7.145 GB, free: 45.42 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00659/24.34, allocations: 3.145 MB / 7.148 GB, free: 44.98 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00042/24.34, allocations: 231.2 kB / 7.148 GB, free: 44.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003232/24.35, allocations: 1.845 MB / 7.15 GB, free: 44.72 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004943/24.35, allocations: 352.3 kB / 7.15 GB, free: 44.61 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=211): time 1.656e-05/24.35, allocations: 0 / 7.15 GB, free: 44.61 MB / 0.8698 GB Notification: Performance of matching and sorting (n=211): time 0.01089/24.36, allocations: 4.338 MB / 7.154 GB, free: 44 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/24.36, allocations: 74.56 kB / 7.154 GB, free: 43.94 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0155/24.38, allocations: 6.368 MB / 7.161 GB, free: 43.55 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001188/24.38, allocations: 88.98 kB / 7.161 GB, free: 43.52 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003549/24.38, allocations: 2.756 MB / 7.163 GB, free: 42.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001524/24.38, allocations: 0.7283 MB / 7.164 GB, free: 42.43 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/24.38, allocations: 57.69 kB / 7.164 GB, free: 42.43 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002102/24.38, allocations: 434.7 kB / 7.165 GB, free: 42.12 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002352/24.39, allocations: 1.299 MB / 7.166 GB, free: 42.11 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003057/24.39, allocations: 2.521 MB / 7.168 GB, free: 40.65 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002906/24.39, allocations: 1.662 MB / 7.17 GB, free: 40.57 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-05/24.39, allocations: 10.69 kB / 7.17 GB, free: 40.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.009666/24.4, allocations: 4.4 MB / 7.174 GB, free: 40.09 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003571/24.41, allocations: 14.75 MB / 7.189 GB, free: 24.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.358e-05/24.41, allocations: 31.69 kB / 7.189 GB, free: 24.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008397/24.41, allocations: 241.3 kB / 7.189 GB, free: 24.75 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004383/24.41, allocations: 0.762 MB / 7.19 GB, free: 24.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/24.41, allocations: 3.442 MB / 7.193 GB, free: 21.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007618/24.42, allocations: 352.3 kB / 7.193 GB, free: 21.93 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001088/24.42, allocations: 267.1 kB / 7.194 GB, free: 21.93 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/24.42, allocations: 3.031 kB / 7.194 GB, free: 21.93 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007918/24.43, allocations: 4.223 MB / 7.198 GB, free: 21.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/24.43, allocations: 36.55 kB / 7.198 GB, free: 21.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/24.43, allocations: 0.5426 MB / 7.198 GB, free: 21.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002937/24.44, allocations: 0.7412 MB / 7.199 GB, free: 21.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/24.45, allocations: 7.409 MB / 7.206 GB, free: 18.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007365/24.45, allocations: 336.9 kB / 7.207 GB, free: 18.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001021/24.45, allocations: 232.9 kB / 7.207 GB, free: 18.59 MB / 0.8698 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 (357): * Single equations (assignments): 347 * 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.005388/24.46, allocations: 1.578 MB / 7.208 GB, free: 18.39 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002113/24.46, allocations: 0.5457 MB / 7.209 GB, free: 18.09 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007842/24.47, allocations: 3.391 MB / 7.212 GB, free: 17.89 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/24.47, allocations: 20.72 kB / 7.212 GB, free: 17.89 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/24.47, allocations: 2.938 kB / 7.212 GB, free: 17.89 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004596/24.47, allocations: 2.88 MB / 7.215 GB, free: 17.36 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.02123/24.5, allocations: 9.077 MB / 7.224 GB, free: 16.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/24.5, allocations: 3.625 kB / 7.224 GB, free: 16.49 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002711/24.5, allocations: 0.5499 MB / 7.224 GB, free: 16.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006451/24.5, allocations: 240.9 kB / 7.225 GB, free: 16.46 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002046/24.5, allocations: 69.64 kB / 7.225 GB, free: 16.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00239/24.5, allocations: 3.299 MB / 7.228 GB, free: 29.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/24.5, allocations: 1.5 kB / 7.228 GB, free: 29.66 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009259/24.51, allocations: 5.141 MB / 7.233 GB, free: 28.67 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004979/24.52, allocations: 1.215 MB / 7.234 GB, free: 28.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002681/24.52, allocations: 52.06 kB / 7.234 GB, free: 28.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006785/24.53, allocations: 334.7 kB / 7.234 GB, free: 28.24 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003881/24.53, allocations: 141 kB / 7.235 GB, free: 28.24 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002693/24.53, allocations: 111.4 kB / 7.235 GB, free: 28.24 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01028/24.54, allocations: 4.858 MB / 7.239 GB, free: 27.59 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.71e-07/24.54, allocations: 0 / 7.239 GB, free: 27.59 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.016/24.55, allocations: 3.543 MB / 7.243 GB, free: 26.72 MB / 0.8855 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.s[1],fan1.filter.s[2],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan3.vol.dynBal.mXi[1],fan3.filter.s[1],fan3.filter.s[2],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan2.filter.s[1],fan2.filter.s[2],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1],fan4.filter.s[1],fan4.filter.s[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 (207): * Single equations (assignments): 200 * 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.02679/24.58, allocations: 16.83 MB / 7.259 GB, free: 17.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01273/24.59, allocations: 5.768 MB / 7.265 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/24.59, allocations: 3.25 kB / 7.265 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002875/24.59, allocations: 1.389 MB / 7.266 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01703/24.61, allocations: 3.214 MB / 7.27 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05024/24.66, allocations: 36.14 MB / 7.305 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005532/24.67, allocations: 3.556 MB / 7.308 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00971/24.68, allocations: 1.671 MB / 7.31 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005993/24.68, allocations: 2.694 MB / 7.313 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of SimCode: time 1.513e-06/24.68, allocations: 0 / 7.313 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.271/25.95, allocations: 276.8 MB / 7.583 GB, free: 49.12 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/25.96, allocations: 271.8 kB / 7.583 GB, free: 48.77 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/40.32, allocations: 4 kB / 7.583 GB, free: 48.77 MB / 0.9167 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_ControlledFlowMachineDynamic_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_ControlledFlowMachineDynamic.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)