Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Movers_Validation_ControlledFlowMachineDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic,fileNamePrefix="IDEAS_dev_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.002227/0.002227, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9281/0.9281, allocations: 133.6 MB / 141.6 MB, free: 2.867 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0008973/0.0008975, allocations: 105.1 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.62e-05/3.62e-05, allocations: 4 kB / 0.5535 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.533/0.5331, allocations: 82.3 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.083/5.616, allocations: 1.912 GB / 2.546 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/5.616, allocations: 94.56 kB / 2.546 GB, free: 83.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 18.38/24, allocations: 4.359 GB / 6.906 GB, free: 52.69 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.816e-06/24, allocations: 0 / 6.906 GB, free: 52.69 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.001346/24, allocations: 158.9 kB / 6.906 GB, free: 52.66 MB / 0.8386 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.02694/24.02, allocations: 5.965 MB / 6.912 GB, free: 49.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/24.02, allocations: 9.188 kB / 6.912 GB, free: 49.21 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01502/24.04, allocations: 1.642 MB / 6.913 GB, free: 48.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03442/24.07, allocations: 11.06 MB / 6.924 GB, free: 39.94 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002497/24.07, allocations: 104 kB / 6.924 GB, free: 39.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00173/24.08, allocations: 227.8 kB / 6.924 GB, free: 39.62 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00875/24.09, allocations: 3.452 MB / 6.928 GB, free: 36.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/24.1, allocations: 3.687 MB / 6.931 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-05/24.1, allocations: 7.906 kB / 6.931 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004018/24.1, allocations: 10.61 kB / 6.931 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/24.1, allocations: 121.6 kB / 6.931 GB, free: 33.19 MB / 0.8386 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.04045/24.14, allocations: 19.49 MB / 6.95 GB, free: 13.26 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00697/24.14, allocations: 3.756 MB / 6.954 GB, free: 9.469 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002875/24.15, allocations: 1.7 MB / 6.956 GB, free: 7.766 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005208/24.15, allocations: 236.1 kB / 6.956 GB, free: 7.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003392/24.15, allocations: 1.706 MB / 6.958 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00458/24.15, allocations: 265.9 kB / 6.958 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=211): time 1.743e-05/24.15, allocations: 4 kB / 6.958 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of matching and sorting (n=211): time 0.0134/24.17, allocations: 3.808 MB / 6.962 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/24.17, allocations: 77.41 kB / 6.962 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01744/24.19, allocations: 5.831 MB / 6.967 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001266/24.19, allocations: 29.7 kB / 6.967 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.005853/24.19, allocations: 2.782 MB / 6.97 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002049/24.2, allocations: 0.7004 MB / 6.971 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000852/24.2, allocations: 0 / 6.971 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004771/24.2, allocations: 432.7 kB / 6.971 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003427/24.2, allocations: 1.564 MB / 6.973 GB, free: 6.227 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004501/24.2, allocations: 2.757 MB / 6.975 GB, free: 2.918 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004959/24.21, allocations: 1.993 MB / 6.977 GB, free: 0.9102 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.815e-05/24.21, allocations: 8 kB / 6.977 GB, free: 0.9023 MB / 0.8542 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.9195/25.13, allocations: 4.939 MB / 6.982 GB, free: 76.74 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.003107/25.13, allocations: 14.65 MB / 6.997 GB, free: 61.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.207e-05/25.13, allocations: 27.56 kB / 6.997 GB, free: 61.44 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/25.13, allocations: 437.4 kB / 6.997 GB, free: 61.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004448/25.14, allocations: 0.7614 MB / 6.998 GB, free: 61.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004168/25.14, allocations: 4.494 MB / 7.002 GB, free: 58.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007049/25.15, allocations: 280 kB / 7.002 GB, free: 58.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/25.15, allocations: 267.4 kB / 7.003 GB, free: 58.64 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/25.15, allocations: 7.531 kB / 7.003 GB, free: 58.64 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007799/25.16, allocations: 3.801 MB / 7.006 GB, free: 58.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/25.16, allocations: 29.78 kB / 7.006 GB, free: 58.54 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/25.16, allocations: 0.5265 MB / 7.007 GB, free: 58.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003204/25.16, allocations: 0.7396 MB / 7.008 GB, free: 58.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/25.18, allocations: 6.981 MB / 7.014 GB, free: 55.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00753/25.18, allocations: 279.2 kB / 7.015 GB, free: 55.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/25.18, allocations: 227.9 kB / 7.015 GB, free: 55.5 MB / 0.8542 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.002004/25.19, allocations: 216.6 kB / 7.015 GB, free: 55.39 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008086/25.19, allocations: 2.828 MB / 7.018 GB, free: 55.11 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001915/25.2, allocations: 0.5368 MB / 7.018 GB, free: 54.81 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007922/25.2, allocations: 3.144 MB / 7.022 GB, free: 54.63 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/25.2, allocations: 18.38 kB / 7.022 GB, free: 54.63 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/25.2, allocations: 3.031 kB / 7.022 GB, free: 54.63 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004326/25.21, allocations: 2.693 MB / 7.024 GB, free: 54.11 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 postOpt removeSimpleEquations (simulation): time 0.02436/25.23, allocations: 8.553 MB / 7.033 GB, free: 53.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/25.23, allocations: 0 / 7.033 GB, free: 53.29 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002935/25.24, allocations: 0.5521 MB / 7.033 GB, free: 53.29 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003878/25.24, allocations: 170.1 kB / 7.033 GB, free: 53.27 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003471/25.24, allocations: 41.09 kB / 7.033 GB, free: 53.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/25.24, allocations: 3.354 MB / 7.037 GB, free: 50.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/25.24, allocations: 6.031 kB / 7.037 GB, free: 50.46 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009275/25.25, allocations: 4.83 MB / 7.041 GB, free: 49.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005377/25.25, allocations: 1.196 MB / 7.042 GB, free: 49.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002344/25.26, allocations: 16.61 kB / 7.042 GB, free: 49.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005588/25.26, allocations: 299.9 kB / 7.043 GB, free: 49.07 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005028/25.26, allocations: 137.4 kB / 7.043 GB, free: 49.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004017/25.26, allocations: 104.8 kB / 7.043 GB, free: 49.07 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.01088/25.27, allocations: 4.367 MB / 7.047 GB, free: 48.85 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.2e-07/25.27, allocations: 0 / 7.047 GB, free: 48.85 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01601/25.29, allocations: 3.209 MB / 7.05 GB, free: 48.7 MB / 0.8542 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.02892/25.32, allocations: 16.81 MB / 7.067 GB, free: 41.22 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01568/25.33, allocations: 6.122 MB / 7.073 GB, free: 40.77 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.387e-05/25.33, allocations: 1.844 kB / 7.073 GB, free: 40.77 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003517/25.34, allocations: 1.272 MB / 7.074 GB, free: 40.75 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01952/25.36, allocations: 2.997 MB / 7.077 GB, free: 40.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03822/25.4, allocations: 10.14 MB / 7.087 GB, free: 38.53 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007446/25.4, allocations: 3.58 MB / 7.09 GB, free: 37.69 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01713/25.42, allocations: 2.864 MB / 7.093 GB, free: 37.64 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006197/25.43, allocations: 2.559 MB / 7.096 GB, free: 37.63 MB / 0.8542 GB Notification: Performance of SimCode: time 1.513e-06/25.43, allocations: 0 / 7.096 GB, free: 37.63 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.165/26.59, allocations: 216.3 MB / 7.307 GB, free: 97.81 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/26.59, allocations: 174.1 kB / 7.307 GB, free: 97.62 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.56/42.15, allocations: 0 / 7.307 GB, free: 97.62 MB / 0.9011 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Validation_ControlledFlowMachineDynamic_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Validation_ControlledFlowMachineDynamic.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)