Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.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.ControlledFlowMachine,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Validation_ControlledFlowMachine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Validation_ControlledFlowMachine",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.01038/0.01038, allocations: 171.1 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.15/1.15, allocations: 135.2 MB / 151.1 MB, free: 13.85 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.64/2.64, allocations: 223.1 MB / 406.8 MB, free: 3.148 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.001324/0.001324, allocations: 95.34 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008519/0.0008518, allocations: 8 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8878/0.8887, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.695/9.584, allocations: 1.913 GB / 2.563 GB, free: 23.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005059/9.585, allocations: 99.97 kB / 2.563 GB, free: 23.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 33.35/42.93, allocations: 4.388 GB / 6.95 GB, free: 2.066 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.562e-06/42.93, allocations: 0 / 6.95 GB, free: 2.066 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.002627/42.93, allocations: 143.9 kB / 6.951 GB, free: 1.926 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 1.558/44.49, allocations: 10.54 MB / 6.961 GB, free: 51.71 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 9.791e-05/44.49, allocations: 7.344 kB / 6.961 GB, free: 51.71 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004332/44.5, allocations: 407.7 kB / 6.961 GB, free: 51.65 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01898/44.51, allocations: 1.44 MB / 6.963 GB, free: 51.29 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05357/44.57, allocations: 10.9 MB / 6.973 GB, free: 50.51 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008266/44.57, allocations: 256.5 kB / 6.974 GB, free: 50.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003182/44.57, allocations: 352.8 kB / 6.974 GB, free: 50.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0252/44.6, allocations: 3.926 MB / 6.978 GB, free: 50.15 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004927/44.6, allocations: 5.438 kB / 6.978 GB, free: 50.15 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002809/44.6, allocations: 121.6 kB / 6.978 GB, free: 50.15 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005107/44.6, allocations: 109.9 kB / 6.978 GB, free: 50.14 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01594/44.62, allocations: 2.945 MB / 6.981 GB, free: 50.11 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.07169/44.69, allocations: 19.37 MB / 7 GB, free: 42.27 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01051/44.7, allocations: 2.694 MB / 7.002 GB, free: 41.86 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007584/44.7, allocations: 228.1 kB / 7.003 GB, free: 41.67 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005825/44.71, allocations: 1.662 MB / 7.004 GB, free: 41.59 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007575/44.71, allocations: 404.5 kB / 7.005 GB, free: 41.48 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=180): time 3.636e-05/44.71, allocations: 0 / 7.005 GB, free: 41.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=180): time 0.01868/44.73, allocations: 3.853 MB / 7.008 GB, free: 40.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/44.73, allocations: 77.47 kB / 7.008 GB, free: 40.83 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03232/44.77, allocations: 6.25 MB / 7.015 GB, free: 40.45 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.00209/44.77, allocations: 84.27 kB / 7.015 GB, free: 40.42 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.008383/44.78, allocations: 2.658 MB / 7.017 GB, free: 39.82 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002661/44.78, allocations: 0.6251 MB / 7.018 GB, free: 39.41 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001439/44.78, allocations: 56.52 kB / 7.018 GB, free: 39.41 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0006711/44.78, allocations: 420.5 kB / 7.018 GB, free: 39.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005126/44.79, allocations: 1.149 MB / 7.019 GB, free: 39.09 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007026/44.79, allocations: 2.394 MB / 7.022 GB, free: 37.61 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005806/44.8, allocations: 1.512 MB / 7.023 GB, free: 37.55 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.187e-05/44.8, allocations: 11.66 kB / 7.023 GB, free: 37.55 MB / 0.8542 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01799/44.82, allocations: 4.038 MB / 7.027 GB, free: 37.13 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.009898/44.83, allocations: 15.09 MB / 7.042 GB, free: 37.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002624/44.83, allocations: 31.28 kB / 7.042 GB, free: 37.35 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/44.83, allocations: 237.8 kB / 7.042 GB, free: 37.34 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005798/44.84, allocations: 0.6548 MB / 7.043 GB, free: 37.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005913/44.84, allocations: 3.438 MB / 7.046 GB, free: 34.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01123/44.85, allocations: 329.7 kB / 7.046 GB, free: 34.51 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001981/44.85, allocations: 254.5 kB / 7.047 GB, free: 34.51 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/44.85, allocations: 3.344 kB / 7.047 GB, free: 34.51 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01348/44.87, allocations: 3.976 MB / 7.051 GB, free: 34.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002214/44.87, allocations: 28.75 kB / 7.051 GB, free: 34.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001932/44.87, allocations: 0.5446 MB / 7.051 GB, free: 34.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00454/44.87, allocations: 0.6505 MB / 7.052 GB, free: 34.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01752/44.89, allocations: 7.438 MB / 7.059 GB, free: 31.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01057/44.9, allocations: 329 kB / 7.059 GB, free: 31.23 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001708/44.9, allocations: 222.9 kB / 7.06 GB, free: 31.23 MB / 0.8698 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 314 * 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.009464/44.91, allocations: 1.539 MB / 7.061 GB, free: 31.02 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003877/44.92, allocations: 0.5198 MB / 7.062 GB, free: 30.73 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/44.93, allocations: 3.006 MB / 7.065 GB, free: 30.54 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.712e-05/44.93, allocations: 21.81 kB / 7.065 GB, free: 30.54 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.916e-05/44.93, allocations: 7.75 kB / 7.065 GB, free: 30.54 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007745/44.94, allocations: 2.554 MB / 7.067 GB, free: 30.03 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.03544/44.97, allocations: 8.358 MB / 7.075 GB, free: 29.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/44.97, allocations: 2.062 kB / 7.075 GB, free: 29.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003657/44.98, allocations: 488.2 kB / 7.076 GB, free: 29.15 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009954/44.98, allocations: 237.1 kB / 7.076 GB, free: 29.13 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006063/44.98, allocations: 56.39 kB / 7.076 GB, free: 29.13 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0038/44.98, allocations: 3.292 MB / 7.079 GB, free: 26.33 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/44.98, allocations: 6.5 kB / 7.079 GB, free: 26.33 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/45, allocations: 4.603 MB / 7.084 GB, free: 25.34 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007458/45.01, allocations: 1.155 MB / 7.085 GB, free: 24.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003708/45.01, allocations: 43.45 kB / 7.085 GB, free: 24.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009575/45.02, allocations: 311.7 kB / 7.085 GB, free: 24.93 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009499/45.02, allocations: 121.8 kB / 7.085 GB, free: 24.93 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004231/45.02, allocations: 95.22 kB / 7.085 GB, free: 24.93 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.01906/45.04, allocations: 4.772 MB / 7.09 GB, free: 24.71 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.71e-07/45.04, allocations: 3.609 kB / 7.09 GB, free: 24.71 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.03085/45.07, allocations: 3.414 MB / 7.093 GB, free: 24.46 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) * Number of clocked states: 0 () * 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.04479/45.12, allocations: 16.24 MB / 7.109 GB, free: 32.91 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01761/45.13, allocations: 5.306 MB / 7.114 GB, free: 32.48 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-05/45.13, allocations: 1.812 kB / 7.114 GB, free: 32.48 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004313/45.14, allocations: 1.209 MB / 7.116 GB, free: 32.46 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0266/45.16, allocations: 3.153 MB / 7.119 GB, free: 32.39 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07629/45.24, allocations: 35.73 MB / 7.154 GB, free: 21.04 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01092/45.25, allocations: 3.425 MB / 7.157 GB, free: 20.21 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01593/45.27, allocations: 1.565 MB / 7.158 GB, free: 20.16 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008907/45.28, allocations: 2.57 MB / 7.161 GB, free: 20.15 MB / 0.9011 GB Notification: Performance of SimCode: time 3.967e-06/45.28, allocations: 0 / 7.161 GB, free: 20.15 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.267/47.54, allocations: 272.3 MB / 7.427 GB, free: 84.08 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000527/47.54, allocations: 248.1 kB / 7.427 GB, free: 83.74 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.5/73.05, allocations: 0 / 7.427 GB, free: 83.74 MB / 0.9011 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Validation_ControlledFlowMachine_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Validation_ControlledFlowMachine.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)