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.6783/0.6783, 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.0009416/0.0009416, allocations: 179.2 kB / 187.3 MB, free: 11.88 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.216/1.216, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0008146/0.0008145, allocations: 102.3 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001618/0.001618, allocations: 265.4 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.906e-05/2.909e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3511, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.598/3.949, allocations: 1.91 GB / 2.675 GB, free: 135.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001903/3.949, allocations: 95.89 kB / 2.675 GB, free: 135 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 14.37/18.32, allocations: 4.406 GB / 7.08 GB, free: 52.14 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.946e-06/18.32, allocations: 3.219 kB / 7.08 GB, free: 52.14 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0009078/18.32, allocations: 149.1 kB / 7.08 GB, free: 52.12 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.01612/18.34, allocations: 5.954 MB / 7.086 GB, free: 49.48 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/18.34, allocations: 13.88 kB / 7.086 GB, free: 49.48 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001131/18.34, allocations: 438.7 kB / 7.087 GB, free: 49.42 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0123/18.35, allocations: 1.641 MB / 7.088 GB, free: 49.04 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02341/18.38, allocations: 11 MB / 7.099 GB, free: 47.88 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002292/18.38, allocations: 274.2 kB / 7.099 GB, free: 47.87 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008122/18.38, allocations: 378.9 kB / 7.1 GB, free: 47.86 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006968/18.38, allocations: 4.14 MB / 7.104 GB, free: 47.54 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.255e-05/18.38, allocations: 3.312 kB / 7.104 GB, free: 47.54 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003296/18.38, allocations: 131.1 kB / 7.104 GB, free: 47.54 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.143e-05/18.38, allocations: 124.8 kB / 7.104 GB, free: 47.52 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004487/18.39, allocations: 3.078 MB / 7.107 GB, free: 47.49 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.02588/18.41, allocations: 20.13 MB / 7.127 GB, free: 39.85 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004177/18.42, allocations: 3.008 MB / 7.13 GB, free: 39.41 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/18.42, allocations: 1.351 MB / 7.131 GB, free: 39.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003169/18.42, allocations: 236.1 kB / 7.131 GB, free: 39.21 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002139/18.42, allocations: 1.781 MB / 7.133 GB, free: 39.13 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002985/18.43, allocations: 348.5 kB / 7.133 GB, free: 39.02 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=211): time 4.628e-06/18.43, allocations: 0 / 7.133 GB, free: 39.02 MB / 0.8698 GB Notification: Performance of matching and sorting (n=211): time 0.004622/18.43, allocations: 2.902 MB / 7.136 GB, free: 38.61 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/18.43, allocations: 79.19 kB / 7.136 GB, free: 38.55 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009316/18.44, allocations: 6.295 MB / 7.142 GB, free: 38.13 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006031/18.44, allocations: 89.83 kB / 7.142 GB, free: 38.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002073/18.44, allocations: 2.757 MB / 7.145 GB, free: 37.47 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008345/18.44, allocations: 0.7344 MB / 7.146 GB, free: 37 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/18.44, allocations: 59.52 kB / 7.146 GB, free: 37 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001544/18.44, allocations: 438.2 kB / 7.146 GB, free: 36.69 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/18.45, allocations: 1.215 MB / 7.147 GB, free: 36.68 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/18.45, allocations: 2.455 MB / 7.15 GB, free: 35.22 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/18.45, allocations: 1.589 MB / 7.151 GB, free: 35.13 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/18.45, allocations: 10.12 kB / 7.151 GB, free: 35.13 MB / 0.8698 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.00651/18.46, allocations: 4.27 MB / 7.156 GB, free: 34.66 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002343/18.46, allocations: 14.75 MB / 7.17 GB, free: 19.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.89e-05/18.46, allocations: 31.8 kB / 7.17 GB, free: 19.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006328/18.46, allocations: 250.2 kB / 7.17 GB, free: 19.32 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003381/18.46, allocations: 0.76 MB / 7.171 GB, free: 19.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/18.47, allocations: 3.472 MB / 7.174 GB, free: 16.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005212/18.47, allocations: 345.6 kB / 7.175 GB, free: 16.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003807/18.47, allocations: 268 kB / 7.175 GB, free: 16.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/18.47, allocations: 4.812 kB / 7.175 GB, free: 16.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005668/18.48, allocations: 4.104 MB / 7.179 GB, free: 16.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-05/18.48, allocations: 31.25 kB / 7.179 GB, free: 16.36 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/18.48, allocations: 0.5518 MB / 7.18 GB, free: 16.35 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002504/18.48, allocations: 0.7404 MB / 7.18 GB, free: 16.35 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009265/18.49, allocations: 7.249 MB / 7.187 GB, free: 29.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005562/18.49, allocations: 344.2 kB / 7.188 GB, free: 29.08 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005173/18.5, allocations: 233.5 kB / 7.188 GB, free: 29.08 MB / 0.8855 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 (355): * Single equations (assignments): 345 * 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.00122/18.5, allocations: 296.1 kB / 7.188 GB, free: 28.96 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001447/18.5, allocations: 0.5444 MB / 7.189 GB, free: 28.66 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006176/18.5, allocations: 3.268 MB / 7.192 GB, free: 28.46 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/18.5, allocations: 27.81 kB / 7.192 GB, free: 28.46 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/18.5, allocations: 0 / 7.192 GB, free: 28.46 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003299/18.51, allocations: 2.748 MB / 7.195 GB, free: 27.93 MB / 0.8855 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.01321/18.52, allocations: 8.995 MB / 7.203 GB, free: 27.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/18.52, allocations: 0 / 7.203 GB, free: 27.06 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00246/18.52, allocations: 0.5488 MB / 7.204 GB, free: 27.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005357/18.52, allocations: 238.9 kB / 7.204 GB, free: 27.03 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001519/18.52, allocations: 72.36 kB / 7.204 GB, free: 27.03 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/18.53, allocations: 3.295 MB / 7.207 GB, free: 24.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/18.53, allocations: 2.562 kB / 7.207 GB, free: 24.23 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005983/18.53, allocations: 4.937 MB / 7.212 GB, free: 23.12 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002657/18.53, allocations: 1.222 MB / 7.213 GB, free: 22.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006564/18.54, allocations: 51.92 kB / 7.214 GB, free: 22.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002871/18.54, allocations: 331.8 kB / 7.214 GB, free: 22.29 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/18.54, allocations: 140.6 kB / 7.214 GB, free: 22.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001702/18.54, allocations: 104.3 kB / 7.214 GB, free: 22.25 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.006212/18.54, allocations: 4.79 MB / 7.219 GB, free: 20.31 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.9e-07/18.54, allocations: 0 / 7.219 GB, free: 20.31 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.009574/18.55, allocations: 3.545 MB / 7.222 GB, free: 19.44 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) * 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.02049/18.57, allocations: 16.61 MB / 7.238 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.009152/18.58, allocations: 5.764 MB / 7.244 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/18.58, allocations: 0 / 7.244 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002084/18.59, allocations: 1.314 MB / 7.245 GB, free: 7.711 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01422/18.6, allocations: 3.212 MB / 7.248 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01915/18.62, allocations: 10.37 MB / 7.259 GB, free: 2.781 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002866/18.62, allocations: 3.569 MB / 7.262 GB, free: 1.508 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01053/18.63, allocations: 2.957 MB / 7.265 GB, free: 0.7227 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00758/18.64, allocations: 2.909 MB / 7.268 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of SimCode: time 8.42e-07/18.64, allocations: 0 / 7.268 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9636/19.6, allocations: 299 MB / 7.56 GB, free: 9.582 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001355/19.6, allocations: 242.9 kB / 7.56 GB, free: 9.254 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/31.83, allocations: 4.062 kB / 7.56 GB, free: 9.25 MB / 0.9011 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)