Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_ControlledFlowMachineDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_ControlledFlowMachineDynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006671/0.00667, allocations: 170.3 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7259/0.7259, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.2 MB / 406.8 MB, free: 3.207 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.0009467/0.0009466, allocations: 100.5 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003707, allocations: 8 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.445/0.4454, allocations: 82.31 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.827/5.272, allocations: 1.913 GB / 2.563 GB, free: 59.76 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/5.272, allocations: 91.95 kB / 2.563 GB, free: 59.67 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 18.82/24.09, allocations: 4.412 GB / 6.974 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.818e-06/24.09, allocations: 3.938 kB / 6.974 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.00236/24.09, allocations: 155.9 kB / 6.975 GB, free: 5.141 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.9074/25, allocations: 10.85 MB / 6.985 GB, free: 49.09 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.748e-05/25, allocations: 13.12 kB / 6.985 GB, free: 49.09 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002937/25, allocations: 440.9 kB / 6.986 GB, free: 49.04 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01437/25.02, allocations: 1.643 MB / 6.987 GB, free: 48.65 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03322/25.05, allocations: 11.14 MB / 6.998 GB, free: 47.86 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000433/25.05, allocations: 277.4 kB / 6.998 GB, free: 47.85 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001689/25.05, allocations: 383.3 kB / 6.999 GB, free: 47.84 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009279/25.06, allocations: 4.245 MB / 7.003 GB, free: 47.52 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.218e-05/25.06, allocations: 3 kB / 7.003 GB, free: 47.52 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004017/25.06, allocations: 132.9 kB / 7.003 GB, free: 47.52 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/25.06, allocations: 123.9 kB / 7.003 GB, free: 47.51 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006882/25.07, allocations: 3.25 MB / 7.006 GB, free: 47.48 MB / 0.8542 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.04637/25.12, allocations: 20.15 MB / 7.026 GB, free: 39.99 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007994/25.13, allocations: 3.148 MB / 7.029 GB, free: 39.58 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005332/25.13, allocations: 229 kB / 7.029 GB, free: 39.39 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004433/25.13, allocations: 1.844 MB / 7.031 GB, free: 39.32 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004875/25.14, allocations: 357.2 kB / 7.031 GB, free: 39.26 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=211): time 2.132e-05/25.14, allocations: 0 / 7.031 GB, free: 39.26 MB / 0.8542 GB Notification: Performance of matching and sorting (n=211): time 0.0135/25.15, allocations: 4.337 MB / 7.036 GB, free: 38.66 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/25.15, allocations: 85.09 kB / 7.036 GB, free: 38.59 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01851/25.17, allocations: 6.384 MB / 7.042 GB, free: 38.23 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001283/25.17, allocations: 91.61 kB / 7.042 GB, free: 38.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00543/25.17, allocations: 2.777 MB / 7.045 GB, free: 37.73 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001877/25.18, allocations: 0.7322 MB / 7.045 GB, free: 37.35 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009835/25.18, allocations: 60.72 kB / 7.046 GB, free: 37.35 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004412/25.18, allocations: 432.1 kB / 7.046 GB, free: 37.04 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003518/25.18, allocations: 1.285 MB / 7.047 GB, free: 37.04 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004182/25.19, allocations: 2.535 MB / 7.05 GB, free: 35.58 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003796/25.19, allocations: 1.656 MB / 7.051 GB, free: 35.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.412e-05/25.19, allocations: 9.312 kB / 7.051 GB, free: 35.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.01094/25.2, allocations: 4.401 MB / 7.056 GB, free: 35.04 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.006344/25.21, allocations: 14.78 MB / 7.07 GB, free: 35.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001164/25.21, allocations: 30.06 kB / 7.07 GB, free: 35.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/25.21, allocations: 244.2 kB / 7.07 GB, free: 35.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004727/25.21, allocations: 0.7576 MB / 7.071 GB, free: 35.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003699/25.22, allocations: 3.446 MB / 7.074 GB, free: 32.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008951/25.23, allocations: 343 kB / 7.075 GB, free: 32.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001629/25.23, allocations: 269.7 kB / 7.075 GB, free: 32.88 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/25.23, allocations: 4.75 kB / 7.075 GB, free: 32.88 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009235/25.24, allocations: 4.218 MB / 7.079 GB, free: 32.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001063/25.24, allocations: 29.5 kB / 7.079 GB, free: 32.75 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/25.24, allocations: 0.5479 MB / 7.08 GB, free: 32.74 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003141/25.24, allocations: 0.7405 MB / 7.08 GB, free: 32.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/25.25, allocations: 7.41 MB / 7.088 GB, free: 29.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008034/25.26, allocations: 334.4 kB / 7.088 GB, free: 29.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00121/25.26, allocations: 231.5 kB / 7.088 GB, free: 29.57 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (357): * Single equations (assignments): 347 * 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 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.006017/25.27, allocations: 1.58 MB / 7.09 GB, free: 29.36 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002422/25.27, allocations: 0.5506 MB / 7.09 GB, free: 29.05 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008903/25.28, allocations: 3.392 MB / 7.094 GB, free: 28.86 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-05/25.28, allocations: 25.59 kB / 7.094 GB, free: 28.86 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/25.28, allocations: 0.5625 kB / 7.094 GB, free: 28.86 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005169/25.28, allocations: 2.879 MB / 7.096 GB, free: 28.34 MB / 0.8698 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.02377/25.31, allocations: 9.09 MB / 7.105 GB, free: 27.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/25.31, allocations: 4.656 kB / 7.105 GB, free: 27.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002825/25.31, allocations: 0.5457 MB / 7.106 GB, free: 27.45 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006239/25.31, allocations: 234.5 kB / 7.106 GB, free: 27.43 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000205/25.31, allocations: 72.55 kB / 7.106 GB, free: 27.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/25.31, allocations: 3.3 MB / 7.109 GB, free: 24.63 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/25.31, allocations: 2.25 kB / 7.109 GB, free: 24.63 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/25.32, allocations: 5.151 MB / 7.114 GB, free: 23.62 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00612/25.33, allocations: 1.217 MB / 7.116 GB, free: 23.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003199/25.33, allocations: 46.62 kB / 7.116 GB, free: 23.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006915/25.34, allocations: 337.9 kB / 7.116 GB, free: 23.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005066/25.34, allocations: 144.3 kB / 7.116 GB, free: 23.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003177/25.34, allocations: 106 kB / 7.116 GB, free: 23.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.01274/25.35, allocations: 4.883 MB / 7.121 GB, free: 22.98 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.52e-07/25.35, allocations: 0 / 7.121 GB, free: 22.98 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.02097/25.38, allocations: 3.544 MB / 7.124 GB, free: 22.71 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) * Number of clocked states: 0 () * 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.03753/25.41, allocations: 16.79 MB / 7.141 GB, free: 31.13 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01876/25.43, allocations: 5.761 MB / 7.146 GB, free: 30.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.997e-05/25.43, allocations: 0 / 7.146 GB, free: 30.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004337/25.44, allocations: 1.402 MB / 7.148 GB, free: 30.69 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02361/25.46, allocations: 3.211 MB / 7.151 GB, free: 30.61 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0649/25.52, allocations: 36.19 MB / 7.186 GB, free: 19.3 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005815/25.53, allocations: 3.562 MB / 7.19 GB, free: 18.48 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01003/25.54, allocations: 1.676 MB / 7.191 GB, free: 18.43 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005652/25.55, allocations: 2.704 MB / 7.194 GB, free: 18.42 MB / 0.9011 GB Notification: Performance of SimCode: time 1.412e-06/25.55, allocations: 1.125 kB / 7.194 GB, free: 18.42 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.239/26.79, allocations: 276.9 MB / 7.464 GB, free: 78.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/26.79, allocations: 251.7 kB / 7.465 GB, free: 78.57 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/41.01, allocations: 0 / 7.465 GB, free: 78.57 MB / 0.9011 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Validation_ControlledFlowMachineDynamic_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Validation_ControlledFlowMachineDynamic.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)