Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_ControlledFlowMachine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_ControlledFlowMachine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7367/0.7367, allocations: 128.7 MB / 143.7 MB, free: 2.34 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 180 kB / 173.7 MB, free: 6.109 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008959/0.0008961, allocations: 94.7 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002921/0.0002921, allocations: 11.31 kB / 0.5604 GB, free: 97.58 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1436, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.166/5.31, allocations: 2.196 GB / 2.832 GB, free: 113.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/5.31, allocations: 106.9 kB / 2.832 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 15.51/20.82, allocations: 4.305 GB / 7.137 GB, free: 23.17 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.155e-06/20.82, allocations: 0 / 7.137 GB, free: 23.17 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.001161/20.82, allocations: 155.8 kB / 7.137 GB, free: 23.02 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 752 * Number of variables: 752 Notification: Performance of Generate backend data structure: time 0.037/20.86, allocations: 10.58 MB / 7.148 GB, free: 12.33 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 8.533e-05/20.86, allocations: 8.031 kB / 7.148 GB, free: 12.32 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003281/20.86, allocations: 413.2 kB / 7.148 GB, free: 11.91 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01251/20.87, allocations: 1.444 MB / 7.149 GB, free: 10.45 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7375/21.61, allocations: 11.1 MB / 7.16 GB, free: 56.37 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003653/21.61, allocations: 257.2 kB / 7.161 GB, free: 56.36 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001268/21.61, allocations: 350.9 kB / 7.161 GB, free: 56.36 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/21.62, allocations: 4.4 MB / 7.165 GB, free: 55.98 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.347e-05/21.62, allocations: 4.25 kB / 7.165 GB, free: 55.98 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000386/21.62, allocations: 125.4 kB / 7.165 GB, free: 55.98 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/21.62, allocations: 108.9 kB / 7.165 GB, free: 55.97 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008553/21.63, allocations: 3.365 MB / 7.169 GB, free: 55.94 MB / 0.823 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.02903/21.66, allocations: 19.37 MB / 7.188 GB, free: 48.48 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007719/21.67, allocations: 3.097 MB / 7.191 GB, free: 48.06 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003717/21.67, allocations: 229.6 kB / 7.191 GB, free: 47.87 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005671/21.67, allocations: 2.069 MB / 7.193 GB, free: 47.8 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003855/21.68, allocations: 401.7 kB / 7.193 GB, free: 47.74 MB / 0.823 GB Notification: Performance of pre-optimization done (n=177): time 1.47e-05/21.68, allocations: 4.75 kB / 7.193 GB, free: 47.74 MB / 0.823 GB Notification: Performance of matching and sorting (n=177): time 0.01425/21.69, allocations: 4.643 MB / 7.198 GB, free: 47.15 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.407e-05/21.69, allocations: 148 kB / 7.198 GB, free: 46.99 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01312/21.71, allocations: 6.25 MB / 7.204 GB, free: 46.64 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001143/21.71, allocations: 82.17 kB / 7.204 GB, free: 46.61 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002955/21.71, allocations: 2.675 MB / 7.207 GB, free: 46.14 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00119/21.71, allocations: 0.6128 MB / 7.207 GB, free: 45.83 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/21.71, allocations: 57.25 kB / 7.207 GB, free: 45.83 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001803/21.71, allocations: 429.1 kB / 7.208 GB, free: 45.52 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00258/21.71, allocations: 1.29 MB / 7.209 GB, free: 45.51 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003033/21.72, allocations: 2.507 MB / 7.212 GB, free: 44.05 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002915/21.72, allocations: 1.636 MB / 7.213 GB, free: 43.99 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.758e-05/21.72, allocations: 10.91 kB / 7.213 GB, free: 43.99 MB / 0.823 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01008/21.73, allocations: 4.486 MB / 7.217 GB, free: 43.57 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.005262/21.74, allocations: 14.89 MB / 7.232 GB, free: 44.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-05/21.74, allocations: 31.12 kB / 7.232 GB, free: 44.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/21.74, allocations: 317.8 kB / 7.232 GB, free: 44.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004921/21.74, allocations: 0.8296 MB / 7.233 GB, free: 44.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005039/21.75, allocations: 3.74 MB / 7.237 GB, free: 41.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008934/21.76, allocations: 389 kB / 7.237 GB, free: 41.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001461/21.76, allocations: 257 kB / 7.237 GB, free: 41.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/21.76, allocations: 3.875 kB / 7.237 GB, free: 41.2 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01295/21.77, allocations: 3.967 MB / 7.241 GB, free: 41.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002092/21.77, allocations: 35.59 kB / 7.241 GB, free: 41.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/21.77, allocations: 0.5413 MB / 7.242 GB, free: 41.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003051/21.78, allocations: 0.6378 MB / 7.243 GB, free: 41.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01224/21.79, allocations: 7.458 MB / 7.25 GB, free: 37.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007147/21.79, allocations: 333.7 kB / 7.25 GB, free: 37.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/21.8, allocations: 225.3 kB / 7.25 GB, free: 37.87 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * 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 (323): * Single equations (assignments): 311 * Array equations: 5 * Algorithm blocks: 1 * Record equations: 1 * 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.005946/21.8, allocations: 1.541 MB / 7.252 GB, free: 37.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002259/21.8, allocations: 0.522 MB / 7.252 GB, free: 37.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/21.82, allocations: 3.559 MB / 7.256 GB, free: 37.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/21.82, allocations: 16.56 kB / 7.256 GB, free: 37.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/21.82, allocations: 1.031 kB / 7.256 GB, free: 37.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007903/21.82, allocations: 3.095 MB / 7.259 GB, free: 36.69 MB / 0.8386 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.02881/21.85, allocations: 8.896 MB / 7.268 GB, free: 35.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/21.85, allocations: 2.406 kB / 7.268 GB, free: 35.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003933/21.86, allocations: 0.6677 MB / 7.268 GB, free: 35.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/21.86, allocations: 316.6 kB / 7.268 GB, free: 35.83 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003739/21.86, allocations: 61.23 kB / 7.269 GB, free: 35.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006869/21.87, allocations: 4.617 MB / 7.273 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/21.87, allocations: 2.906 kB / 7.273 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/21.88, allocations: 5.199 MB / 7.278 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004897/21.88, allocations: 1.17 MB / 7.279 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002426/21.89, allocations: 40.38 kB / 7.279 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00557/21.89, allocations: 381.2 kB / 7.28 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003657/21.89, allocations: 130.3 kB / 7.28 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003048/21.89, allocations: 96.73 kB / 7.28 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.01256/21.91, allocations: 4.77 MB / 7.285 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.01e-07/21.91, allocations: 1.641 kB / 7.285 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01983/21.93, allocations: 3.472 MB / 7.288 GB, free: 30.68 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 14 (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],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 (173): * Single equations (assignments): 166 * 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.03227/21.96, allocations: 17.01 MB / 7.305 GB, free: 23.21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01641/21.97, allocations: 5.802 MB / 7.31 GB, free: 22.72 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/21.97, allocations: 448 / 7.31 GB, free: 22.72 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.004966/21.98, allocations: 1.546 MB / 7.312 GB, free: 22.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01767/22, allocations: 3.162 MB / 7.315 GB, free: 22.63 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06061/22.06, allocations: 35.6 MB / 7.35 GB, free: 27.59 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01063/22.07, allocations: 3.445 MB / 7.353 GB, free: 26.77 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01348/22.08, allocations: 1.564 MB / 7.354 GB, free: 26.71 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007004/22.09, allocations: 2.598 MB / 7.357 GB, free: 26.7 MB / 0.8698 GB Notification: Performance of SimCode: time 2.024e-06/22.09, allocations: 0 / 7.357 GB, free: 26.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.241/23.33, allocations: 275.9 MB / 7.626 GB, free: 80.43 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/23.33, allocations: 258.2 kB / 7.627 GB, free: 80.08 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/35.62, allocations: 2.25 kB / 7.627 GB, free: 80.08 MB / 0.8698 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_ControlledFlowMachine_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_ControlledFlowMachine.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)