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.8301/0.8301, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001164/0.001164, allocations: 184.8 kB / 182.2 MB, free: 9.438 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.389/1.389, 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.0008996/0.0008996, allocations: 87.86 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.001799/0.001799, allocations: 277.1 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.22e-05/2.228e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3679, allocations: 82.77 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.903/4.271, allocations: 1.91 GB / 2.667 GB, free: 147.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/4.271, allocations: 92.7 kB / 2.667 GB, free: 147 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 16.67/20.94, allocations: 4.356 GB / 7.024 GB, free: 49.29 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.134e-06/20.94, allocations: 0 / 7.024 GB, free: 49.29 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0009931/20.94, allocations: 155.1 kB / 7.024 GB, free: 49.26 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: 813 * Number of variables: 813 Notification: Performance of Generate backend data structure: time 0.02264/20.96, allocations: 5.953 MB / 7.03 GB, free: 46.62 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/20.96, allocations: 9.188 kB / 7.03 GB, free: 46.62 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01386/20.98, allocations: 1.638 MB / 7.031 GB, free: 46.24 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02685/21, allocations: 11 MB / 7.042 GB, free: 45.07 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000229/21, allocations: 103.3 kB / 7.042 GB, free: 45.07 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001943/21, allocations: 228.4 kB / 7.042 GB, free: 45.07 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007648/21.01, allocations: 3.456 MB / 7.046 GB, free: 45.05 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007735/21.02, allocations: 3.69 MB / 7.049 GB, free: 44.73 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-05/21.02, allocations: 5.781 kB / 7.049 GB, free: 44.73 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003525/21.02, allocations: 7.016 kB / 7.049 GB, free: 44.73 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001113/21.02, allocations: 123.5 kB / 7.049 GB, free: 44.72 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.02928/21.05, allocations: 19.48 MB / 7.068 GB, free: 37.21 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005256/21.05, allocations: 3.756 MB / 7.072 GB, free: 36.77 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002499/21.06, allocations: 1.702 MB / 7.074 GB, free: 36.75 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003879/21.06, allocations: 234 kB / 7.074 GB, free: 36.56 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002695/21.06, allocations: 1.712 MB / 7.076 GB, free: 36.49 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003338/21.06, allocations: 270.6 kB / 7.076 GB, free: 36.39 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=211): time 1.316e-05/21.06, allocations: 0 / 7.076 GB, free: 36.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=211): time 0.008742/21.07, allocations: 3.801 MB / 7.08 GB, free: 35.99 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/21.07, allocations: 80.23 kB / 7.08 GB, free: 35.93 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01204/21.08, allocations: 5.811 MB / 7.085 GB, free: 35.54 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0008948/21.09, allocations: 31.3 kB / 7.085 GB, free: 35.51 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002903/21.09, allocations: 2.751 MB / 7.088 GB, free: 34.86 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001118/21.09, allocations: 0.7056 MB / 7.089 GB, free: 34.38 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/21.09, allocations: 0 / 7.089 GB, free: 34.38 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001917/21.09, allocations: 433.4 kB / 7.089 GB, free: 34.07 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002142/21.09, allocations: 1.558 MB / 7.091 GB, free: 34.06 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002616/21.1, allocations: 2.766 MB / 7.093 GB, free: 32.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004003/21.1, allocations: 1.974 MB / 7.095 GB, free: 32.55 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-05/21.1, allocations: 10.53 kB / 7.095 GB, free: 32.55 MB / 0.8542 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.01075/21.11, allocations: 4.941 MB / 7.1 GB, free: 32.12 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002321/21.11, allocations: 14.62 MB / 7.114 GB, free: 17.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.95e-05/21.11, allocations: 29.06 kB / 7.114 GB, free: 17.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009756/21.11, allocations: 442.2 kB / 7.115 GB, free: 17.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004121/21.12, allocations: 0.7563 MB / 7.116 GB, free: 17.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004425/21.12, allocations: 4.497 MB / 7.12 GB, free: 30.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006344/21.13, allocations: 290.1 kB / 7.12 GB, free: 30.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009607/21.13, allocations: 263.5 kB / 7.121 GB, free: 30.46 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/21.13, allocations: 2.906 kB / 7.121 GB, free: 30.46 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007031/21.14, allocations: 3.806 MB / 7.124 GB, free: 30.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.575e-05/21.14, allocations: 29.88 kB / 7.124 GB, free: 30.36 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/21.14, allocations: 0.5275 MB / 7.125 GB, free: 30.34 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003013/21.14, allocations: 0.7356 MB / 7.126 GB, free: 30.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009728/21.15, allocations: 6.993 MB / 7.132 GB, free: 27.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006003/21.16, allocations: 280.3 kB / 7.133 GB, free: 27.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007684/21.16, allocations: 229.5 kB / 7.133 GB, free: 27.2 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 () * 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.0009891/21.16, allocations: 206.1 kB / 7.133 GB, free: 27.07 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005428/21.16, allocations: 2.833 MB / 7.136 GB, free: 26.66 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001094/21.16, allocations: 0.5313 MB / 7.136 GB, free: 26.37 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006516/21.17, allocations: 3.146 MB / 7.139 GB, free: 26.17 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/21.17, allocations: 22.78 kB / 7.139 GB, free: 26.17 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/21.17, allocations: 0 / 7.139 GB, free: 26.17 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004145/21.18, allocations: 2.697 MB / 7.142 GB, free: 25.65 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.01625/21.19, allocations: 8.542 MB / 7.15 GB, free: 24.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/21.19, allocations: 3.625 kB / 7.15 GB, free: 24.81 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002766/21.19, allocations: 0.5497 MB / 7.151 GB, free: 24.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003722/21.2, allocations: 171.6 kB / 7.151 GB, free: 24.79 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002041/21.2, allocations: 47.66 kB / 7.151 GB, free: 24.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002369/21.2, allocations: 3.35 MB / 7.154 GB, free: 21.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/21.2, allocations: 5.094 kB / 7.154 GB, free: 21.98 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008397/21.21, allocations: 4.824 MB / 7.159 GB, free: 20.99 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004608/21.21, allocations: 1.19 MB / 7.16 GB, free: 20.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002178/21.21, allocations: 18.28 kB / 7.16 GB, free: 20.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00576/21.22, allocations: 301.1 kB / 7.161 GB, free: 20.58 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006567/21.22, allocations: 137.5 kB / 7.161 GB, free: 20.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003306/21.22, allocations: 108.6 kB / 7.161 GB, free: 20.57 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.008766/21.23, allocations: 4.348 MB / 7.165 GB, free: 19.39 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.31e-07/21.23, allocations: 0 / 7.165 GB, free: 19.39 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01259/21.24, allocations: 3.212 MB / 7.168 GB, free: 18.6 MB / 0.8698 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.02291/21.26, allocations: 16.83 MB / 7.185 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01195/21.28, allocations: 6.119 MB / 7.191 GB, free: 7.379 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/21.28, allocations: 3.906 kB / 7.191 GB, free: 7.379 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002295/21.28, allocations: 1.279 MB / 7.192 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01584/21.29, allocations: 2.99 MB / 7.195 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02852/21.32, allocations: 10.12 MB / 7.205 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007622/21.33, allocations: 3.616 MB / 7.208 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01683/21.35, allocations: 2.864 MB / 7.211 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005464/21.35, allocations: 2.546 MB / 7.214 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of SimCode: time 9.82e-07/21.35, allocations: 0 / 7.214 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9734/22.33, allocations: 216.1 MB / 7.425 GB, free: 78.12 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/22.33, allocations: 204.8 kB / 7.425 GB, free: 77.85 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/36.22, allocations: 3.469 kB / 7.425 GB, free: 77.85 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)