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.752/0.752, allocations: 127.4 MB / 134.9 MB, free: 3.734 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.001128/0.001128, allocations: 176.8 kB / 164.6 MB, free: 6.523 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.764/1.764, allocations: 205.2 MB / 399.5 MB, free: 5.93 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.0009097/0.0009097, allocations: 92.95 kB / 476.7 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.437e-05/2.439e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1748, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.131/5.306, allocations: 2.196 GB / 2.817 GB, free: 51.64 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/5.306, allocations: 93.33 kB / 2.818 GB, free: 51.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 17.75/23.06, allocations: 4.252 GB / 7.07 GB, free: 50.12 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.507e-06/23.06, allocations: 0 / 7.07 GB, free: 50.12 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.001421/23.06, allocations: 146.6 kB / 7.07 GB, free: 50.11 MB / 0.8073 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.02502/23.08, allocations: 5.74 MB / 7.076 GB, free: 47.59 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/23.08, allocations: 11.03 kB / 7.076 GB, free: 47.59 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01238/23.1, allocations: 1.439 MB / 7.077 GB, free: 47.23 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02844/23.12, allocations: 11.02 MB / 7.088 GB, free: 46.06 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/23.12, allocations: 95.7 kB / 7.088 GB, free: 46.06 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008052/23.12, allocations: 208 kB / 7.088 GB, free: 46.06 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00581/23.13, allocations: 3.236 MB / 7.091 GB, free: 46.04 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008112/23.14, allocations: 3.481 MB / 7.095 GB, free: 45.66 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-05/23.14, allocations: 8.156 kB / 7.095 GB, free: 45.66 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003521/23.14, allocations: 2.688 kB / 7.095 GB, free: 45.66 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001692/23.14, allocations: 112.2 kB / 7.095 GB, free: 45.66 MB / 0.8073 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.03363/23.17, allocations: 18.76 MB / 7.113 GB, free: 37.84 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005018/23.18, allocations: 3.346 MB / 7.116 GB, free: 37.41 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002086/23.18, allocations: 1.526 MB / 7.118 GB, free: 37.4 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003731/23.18, allocations: 224.9 kB / 7.118 GB, free: 37.21 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002096/23.18, allocations: 1.558 MB / 7.12 GB, free: 37.14 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003755/23.19, allocations: 328 kB / 7.12 GB, free: 37.04 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=177): time 5.871e-06/23.19, allocations: 3.562 kB / 7.12 GB, free: 37.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=177): time 0.008577/23.2, allocations: 3.793 MB / 7.124 GB, free: 36.66 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/23.2, allocations: 156.8 kB / 7.124 GB, free: 36.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01167/23.21, allocations: 5.691 MB / 7.129 GB, free: 36.12 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.001114/23.21, allocations: 31.58 kB / 7.129 GB, free: 36.09 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.003054/23.21, allocations: 2.68 MB / 7.132 GB, free: 35.43 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001276/23.21, allocations: 0.591 MB / 7.133 GB, free: 35.03 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/23.21, allocations: 1.719 kB / 7.133 GB, free: 35.03 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001968/23.21, allocations: 422.4 kB / 7.133 GB, free: 34.72 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002035/23.21, allocations: 1.481 MB / 7.134 GB, free: 34.71 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002554/23.22, allocations: 2.669 MB / 7.137 GB, free: 33.25 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00313/23.22, allocations: 1.887 MB / 7.139 GB, free: 33.22 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.035e-05/23.22, allocations: 12.14 kB / 7.139 GB, free: 33.22 MB / 0.8073 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.00978/23.23, allocations: 4.867 MB / 7.144 GB, free: 32.84 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.004247/23.23, allocations: 14.75 MB / 7.158 GB, free: 33.81 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.706e-05/23.23, allocations: 37.25 kB / 7.158 GB, free: 33.81 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/23.24, allocations: 466.5 kB / 7.159 GB, free: 33.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004701/23.24, allocations: 0.8262 MB / 7.159 GB, free: 33.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005368/23.25, allocations: 4.673 MB / 7.164 GB, free: 30.99 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006676/23.25, allocations: 327.7 kB / 7.164 GB, free: 30.97 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008431/23.25, allocations: 260.3 kB / 7.164 GB, free: 30.97 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/23.25, allocations: 6.188 kB / 7.164 GB, free: 30.97 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00645/23.26, allocations: 3.581 MB / 7.168 GB, free: 30.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-05/23.26, allocations: 29.41 kB / 7.168 GB, free: 30.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/23.26, allocations: 0.5251 MB / 7.168 GB, free: 30.88 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002474/23.26, allocations: 0.6422 MB / 7.169 GB, free: 30.88 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/23.27, allocations: 7.027 MB / 7.176 GB, free: 27.76 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006483/23.28, allocations: 270.7 kB / 7.176 GB, free: 27.73 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009893/23.28, allocations: 221.3 kB / 7.176 GB, free: 27.73 MB / 0.823 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (321): * Single equations (assignments): 309 * 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 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001213/23.28, allocations: 207 kB / 7.177 GB, free: 27.61 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008023/23.29, allocations: 2.854 MB / 7.179 GB, free: 27.21 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002338/23.29, allocations: 0.5097 MB / 7.18 GB, free: 26.93 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009121/23.3, allocations: 3.121 MB / 7.183 GB, free: 26.75 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/23.3, allocations: 23.25 kB / 7.183 GB, free: 26.75 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/23.3, allocations: 1.031 kB / 7.183 GB, free: 26.75 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00647/23.31, allocations: 2.741 MB / 7.186 GB, free: 26.23 MB / 0.823 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.02298/23.33, allocations: 8.234 MB / 7.194 GB, free: 25.41 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/23.33, allocations: 3.375 kB / 7.194 GB, free: 25.41 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003526/23.34, allocations: 0.671 MB / 7.194 GB, free: 25.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004416/23.34, allocations: 201.4 kB / 7.195 GB, free: 25.39 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001838/23.34, allocations: 38.75 kB / 7.195 GB, free: 25.39 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005046/23.34, allocations: 4.34 MB / 7.199 GB, free: 21.91 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/23.34, allocations: 3.688 kB / 7.199 GB, free: 21.91 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009625/23.35, allocations: 4.628 MB / 7.203 GB, free: 21.04 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004178/23.36, allocations: 1.147 MB / 7.204 GB, free: 20.66 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002257/23.36, allocations: 13.83 kB / 7.204 GB, free: 20.66 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005326/23.36, allocations: 356.2 kB / 7.205 GB, free: 20.63 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003397/23.36, allocations: 126.7 kB / 7.205 GB, free: 20.63 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000323/23.36, allocations: 96.28 kB / 7.205 GB, free: 20.63 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.01095/23.37, allocations: 4.266 MB / 7.209 GB, free: 20.42 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.21e-07/23.37, allocations: 0 / 7.209 GB, free: 20.42 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01731/23.39, allocations: 3.159 MB / 7.212 GB, free: 20.07 MB / 0.823 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) * 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.02885/23.42, allocations: 16.77 MB / 7.229 GB, free: 12.62 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01389/23.43, allocations: 6.032 MB / 7.235 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/23.43, allocations: 4.031 kB / 7.235 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.003461/23.44, allocations: 1.274 MB / 7.236 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0176/23.46, allocations: 2.951 MB / 7.239 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03169/23.49, allocations: 9.534 MB / 7.248 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006549/23.49, allocations: 3.458 MB / 7.251 GB, free: 23.79 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.01583/23.51, allocations: 2.747 MB / 7.254 GB, free: 23.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005361/23.52, allocations: 2.439 MB / 7.256 GB, free: 21.49 MB / 0.8386 GB Notification: Performance of SimCode: time 2.675e-06/23.52, allocations: 0 / 7.256 GB, free: 21.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.125/24.64, allocations: 215.7 MB / 7.467 GB, free: 62.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002989/24.64, allocations: 186.9 kB / 7.467 GB, free: 62.19 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/36.75, allocations: 0 / 7.467 GB, free: 62.19 MB / 0.8386 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)