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.8603/0.8603, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001007/0.001007, allocations: 184.9 kB / 182.2 MB, free: 9.426 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.438/1.438, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.001057/0.001057, allocations: 88.06 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001807/0.001807, allocations: 284.7 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.926e-05/1.929e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3861, allocations: 82.78 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.205/4.591, allocations: 1.91 GB / 2.667 GB, free: 146.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/4.591, allocations: 96.69 kB / 2.667 GB, free: 146.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 17.08/21.67, allocations: 4.333 GB / 7 GB, free: 55.32 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.364e-06/21.67, allocations: 3.031 kB / 7 GB, free: 55.32 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.001179/21.68, allocations: 143.6 kB / 7 GB, free: 55.3 MB / 0.8542 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.02503/21.7, allocations: 5.687 MB / 7.006 GB, free: 52.86 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/21.7, allocations: 10.34 kB / 7.006 GB, free: 52.86 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01335/21.71, allocations: 1.435 MB / 7.007 GB, free: 52.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03209/21.75, allocations: 10.75 MB / 7.017 GB, free: 51.37 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002721/21.75, allocations: 97.59 kB / 7.018 GB, free: 51.37 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002053/21.75, allocations: 209.9 kB / 7.018 GB, free: 51.36 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009154/21.76, allocations: 3.221 MB / 7.021 GB, free: 51.34 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/21.77, allocations: 3.423 MB / 7.024 GB, free: 51 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-05/21.77, allocations: 3.125 kB / 7.024 GB, free: 51 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003673/21.77, allocations: 4.375 kB / 7.024 GB, free: 51 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/21.77, allocations: 106.9 kB / 7.024 GB, free: 50.99 MB / 0.8542 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.03837/21.81, allocations: 18.75 MB / 7.043 GB, free: 43.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006027/21.81, allocations: 3.349 MB / 7.046 GB, free: 42.77 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002437/21.82, allocations: 1.55 MB / 7.047 GB, free: 42.75 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004071/21.82, allocations: 223.3 kB / 7.048 GB, free: 42.55 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00249/21.82, allocations: 1.557 MB / 7.049 GB, free: 42.48 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004721/21.82, allocations: 333.4 kB / 7.05 GB, free: 42.38 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=180): time 1.016e-05/21.82, allocations: 0 / 7.05 GB, free: 42.38 MB / 0.8542 GB Notification: Performance of matching and sorting (n=180): time 0.008918/21.83, allocations: 3.527 MB / 7.053 GB, free: 42 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/21.83, allocations: 69.91 kB / 7.053 GB, free: 41.93 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01802/21.85, allocations: 5.685 MB / 7.059 GB, free: 41.55 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001686/21.85, allocations: 35.58 kB / 7.059 GB, free: 41.52 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.006016/21.86, allocations: 2.67 MB / 7.061 GB, free: 40.88 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002054/21.86, allocations: 0.597 MB / 7.062 GB, free: 40.48 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/21.86, allocations: 0 / 7.062 GB, free: 40.48 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0005661/21.86, allocations: 430 kB / 7.062 GB, free: 40.17 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003618/21.87, allocations: 1.44 MB / 7.064 GB, free: 40.16 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004815/21.87, allocations: 2.651 MB / 7.066 GB, free: 38.67 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005616/21.88, allocations: 1.856 MB / 7.068 GB, free: 38.64 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.244e-05/21.88, allocations: 8.75 kB / 7.068 GB, free: 38.64 MB / 0.8542 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.0162/21.89, allocations: 4.616 MB / 7.073 GB, free: 38.26 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.005028/21.9, allocations: 14.92 MB / 7.087 GB, free: 23.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001433/21.9, allocations: 31.56 kB / 7.087 GB, free: 23.01 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/21.9, allocations: 435.1 kB / 7.088 GB, free: 23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00491/21.9, allocations: 0.6532 MB / 7.088 GB, free: 23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005983/21.91, allocations: 4.479 MB / 7.093 GB, free: 20.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009103/21.92, allocations: 273.9 kB / 7.093 GB, free: 20.17 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001483/21.92, allocations: 254.9 kB / 7.093 GB, free: 20.17 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/21.92, allocations: 2.969 kB / 7.093 GB, free: 20.17 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01121/21.93, allocations: 3.587 MB / 7.097 GB, free: 20.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000219/21.93, allocations: 32.97 kB / 7.097 GB, free: 20.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001691/21.93, allocations: 0.5255 MB / 7.097 GB, free: 20.08 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00401/21.94, allocations: 0.659 MB / 7.098 GB, free: 20.08 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/21.95, allocations: 7.038 MB / 7.105 GB, free: 16.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006932/21.96, allocations: 269.3 kB / 7.105 GB, free: 16.94 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/21.96, allocations: 222.9 kB / 7.105 GB, free: 16.94 MB / 0.8542 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.001697/21.96, allocations: 208 kB / 7.105 GB, free: 16.81 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006943/21.97, allocations: 2.545 MB / 7.108 GB, free: 16.42 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001995/21.97, allocations: 0.5057 MB / 7.108 GB, free: 16.14 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006907/21.98, allocations: 2.815 MB / 7.111 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/21.98, allocations: 20.28 kB / 7.111 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/21.98, allocations: 3.953 kB / 7.111 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004687/21.98, allocations: 2.426 MB / 7.113 GB, free: 31.43 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.02291/22, allocations: 7.915 MB / 7.121 GB, free: 30.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/22, allocations: 2.906 kB / 7.121 GB, free: 30.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00256/22.01, allocations: 495.7 kB / 7.122 GB, free: 30.58 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004239/22.01, allocations: 165.9 kB / 7.122 GB, free: 30.57 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003302/22.01, allocations: 33.78 kB / 7.122 GB, free: 30.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00254/22.01, allocations: 3.35 MB / 7.125 GB, free: 27.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/22.01, allocations: 0 / 7.125 GB, free: 27.77 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008449/22.02, allocations: 4.367 MB / 7.129 GB, free: 26.79 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00441/22.02, allocations: 1.123 MB / 7.13 GB, free: 26.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00259/22.03, allocations: 19.05 kB / 7.13 GB, free: 26.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005458/22.03, allocations: 280.2 kB / 7.131 GB, free: 26.39 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004583/22.03, allocations: 119.4 kB / 7.131 GB, free: 26.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000345/22.03, allocations: 93.48 kB / 7.131 GB, free: 26.39 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.01248/22.05, allocations: 4.254 MB / 7.135 GB, free: 26.17 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.21e-07/22.05, allocations: 0 / 7.135 GB, free: 26.17 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01997/22.07, allocations: 3.1 MB / 7.138 GB, free: 25.83 MB / 0.8698 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.02969/22.09, allocations: 16.37 MB / 7.154 GB, free: 18.27 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01365/22.11, allocations: 5.751 MB / 7.16 GB, free: 17.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/22.11, allocations: 0 / 7.16 GB, free: 17.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002772/22.11, allocations: 1.107 MB / 7.161 GB, free: 17.79 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01665/22.13, allocations: 2.928 MB / 7.164 GB, free: 17.73 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0295/22.16, allocations: 9.451 MB / 7.173 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004447/22.16, allocations: 3.427 MB / 7.176 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01688/22.18, allocations: 2.738 MB / 7.179 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004446/22.18, allocations: 2.407 MB / 7.181 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of SimCode: time 1.082e-06/22.18, allocations: 0 / 7.181 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.306/23.49, allocations: 212.5 MB / 7.389 GB, free: 80.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/23.49, allocations: 187.9 kB / 7.389 GB, free: 80.01 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/35.89, allocations: 4 kB / 7.389 GB, free: 80 MB / 0.8855 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)