Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Movers_Validation_ControlledFlowMachine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine,fileNamePrefix="IDEAS_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.00571/0.00571, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7371/0.7371, allocations: 135.2 MB / 151 MB, free: 13.78 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.415/1.415, allocations: 223.2 MB / 406.8 MB, free: 3.211 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.0008902/0.0008902, allocations: 93.2 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004046/0.0004046, allocations: 15.98 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4648/0.4653, allocations: 82.29 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.862/5.327, allocations: 1.913 GB / 2.563 GB, free: 59.21 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/5.328, allocations: 95.95 kB / 2.563 GB, free: 59.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 18.03/23.36, allocations: 4.388 GB / 6.95 GB, free: 22.75 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.468e-06/23.36, allocations: 0 / 6.95 GB, free: 22.75 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.001172/23.36, allocations: 147.8 kB / 6.951 GB, free: 22.61 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.03768/23.4, allocations: 10.54 MB / 6.961 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/23.4, allocations: 11.97 kB / 6.961 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002551/23.4, allocations: 409 kB / 6.961 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0125/23.41, allocations: 1.447 MB / 6.963 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8544/24.27, allocations: 10.89 MB / 6.973 GB, free: 55.54 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004644/24.27, allocations: 255.6 kB / 6.974 GB, free: 55.53 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00205/24.27, allocations: 346 kB / 6.974 GB, free: 55.53 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0118/24.28, allocations: 3.931 MB / 6.978 GB, free: 55.18 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.658e-05/24.28, allocations: 8.406 kB / 6.978 GB, free: 55.18 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004086/24.28, allocations: 121.6 kB / 6.978 GB, free: 55.18 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/24.28, allocations: 106.6 kB / 6.978 GB, free: 55.17 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006737/24.29, allocations: 2.947 MB / 6.981 GB, free: 55.14 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.03593/24.32, allocations: 19.36 MB / 7 GB, free: 47.68 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00683/24.33, allocations: 2.697 MB / 7.002 GB, free: 47.28 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006143/24.33, allocations: 229.2 kB / 7.003 GB, free: 47.09 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003846/24.34, allocations: 1.659 MB / 7.004 GB, free: 47.02 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004805/24.34, allocations: 403 kB / 7.005 GB, free: 46.96 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=180): time 1.886e-05/24.34, allocations: 4.391 kB / 7.005 GB, free: 46.96 MB / 0.8542 GB Notification: Performance of matching and sorting (n=180): time 0.01344/24.35, allocations: 3.86 MB / 7.008 GB, free: 46.37 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.48e-05/24.35, allocations: 74 kB / 7.008 GB, free: 46.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02018/24.37, allocations: 6.251 MB / 7.015 GB, free: 45.95 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001472/24.38, allocations: 85.33 kB / 7.015 GB, free: 45.91 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.005765/24.38, allocations: 2.66 MB / 7.017 GB, free: 45.45 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001984/24.38, allocations: 0.6244 MB / 7.018 GB, free: 45.14 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009763/24.38, allocations: 58.16 kB / 7.018 GB, free: 45.14 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004411/24.39, allocations: 424.3 kB / 7.018 GB, free: 44.83 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003272/24.39, allocations: 1.145 MB / 7.019 GB, free: 44.82 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004066/24.39, allocations: 2.399 MB / 7.022 GB, free: 43.33 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003843/24.4, allocations: 1.505 MB / 7.023 GB, free: 43.27 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.514e-05/24.4, allocations: 10.28 kB / 7.023 GB, free: 43.27 MB / 0.8542 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01287/24.41, allocations: 4.039 MB / 7.027 GB, free: 42.86 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.006469/24.42, allocations: 15.09 MB / 7.042 GB, free: 43.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001463/24.42, allocations: 28.5 kB / 7.042 GB, free: 43.08 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/24.42, allocations: 239.3 kB / 7.042 GB, free: 43.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004529/24.42, allocations: 0.6539 MB / 7.043 GB, free: 43.06 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003755/24.43, allocations: 3.436 MB / 7.046 GB, free: 40.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007348/24.43, allocations: 333.2 kB / 7.046 GB, free: 40.25 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001093/24.43, allocations: 252.7 kB / 7.047 GB, free: 40.25 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/24.43, allocations: 8.031 kB / 7.047 GB, free: 40.25 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01105/24.45, allocations: 3.972 MB / 7.051 GB, free: 40.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00017/24.45, allocations: 35.12 kB / 7.051 GB, free: 40.15 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/24.45, allocations: 0.5444 MB / 7.051 GB, free: 40.14 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003128/24.45, allocations: 0.647 MB / 7.052 GB, free: 40.14 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/24.46, allocations: 7.432 MB / 7.059 GB, free: 37 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00792/24.47, allocations: 327.7 kB / 7.059 GB, free: 36.99 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001261/24.47, allocations: 223.4 kB / 7.06 GB, free: 36.99 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.0063/24.48, allocations: 1.53 MB / 7.061 GB, free: 36.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002501/24.48, allocations: 0.5273 MB / 7.062 GB, free: 36.51 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/24.49, allocations: 3.017 MB / 7.065 GB, free: 36.32 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.179e-05/24.49, allocations: 17.81 kB / 7.065 GB, free: 36.32 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-05/24.49, allocations: 1.531 kB / 7.065 GB, free: 36.32 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006181/24.5, allocations: 2.562 MB / 7.067 GB, free: 35.8 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.03376/24.53, allocations: 8.352 MB / 7.075 GB, free: 34.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.851e-05/24.53, allocations: 2.188 kB / 7.075 GB, free: 34.94 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002826/24.54, allocations: 494.7 kB / 7.076 GB, free: 34.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007478/24.54, allocations: 229 kB / 7.076 GB, free: 34.91 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004149/24.54, allocations: 58.09 kB / 7.076 GB, free: 34.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002671/24.54, allocations: 3.297 MB / 7.079 GB, free: 32.11 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/24.54, allocations: 3.938 kB / 7.079 GB, free: 32.11 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009361/24.55, allocations: 4.606 MB / 7.084 GB, free: 31.12 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004946/24.55, allocations: 1.153 MB / 7.085 GB, free: 30.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00236/24.56, allocations: 42.89 kB / 7.085 GB, free: 30.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005708/24.56, allocations: 313.3 kB / 7.085 GB, free: 30.73 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004465/24.56, allocations: 133.4 kB / 7.085 GB, free: 30.72 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003156/24.56, allocations: 92.09 kB / 7.085 GB, free: 30.72 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.014/24.58, allocations: 4.774 MB / 7.09 GB, free: 30.51 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.362e-06/24.58, allocations: 1.281 kB / 7.09 GB, free: 30.51 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.02004/24.6, allocations: 3.416 MB / 7.093 GB, free: 30.39 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.03125/24.63, allocations: 16.24 MB / 7.109 GB, free: 38.85 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01355/24.64, allocations: 5.297 MB / 7.114 GB, free: 38.43 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/24.64, allocations: 0.7812 kB / 7.114 GB, free: 38.43 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003267/24.65, allocations: 1.215 MB / 7.116 GB, free: 38.41 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01837/24.66, allocations: 3.157 MB / 7.119 GB, free: 38.34 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05083/24.71, allocations: 35.72 MB / 7.154 GB, free: 27.02 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008688/24.72, allocations: 3.425 MB / 7.157 GB, free: 26.19 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.012/24.74, allocations: 1.556 MB / 7.158 GB, free: 26.14 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007232/24.74, allocations: 2.568 MB / 7.161 GB, free: 26.13 MB / 0.9011 GB Notification: Performance of SimCode: time 2.274e-06/24.74, allocations: 0 / 7.161 GB, free: 26.13 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.292/26.03, allocations: 271.3 MB / 7.426 GB, free: 96.69 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/26.03, allocations: 245.9 kB / 7.426 GB, free: 96.43 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/39.44, allocations: 0 / 7.426 GB, free: 96.43 MB / 0.9011 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Validation_ControlledFlowMachine_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Validation_ControlledFlowMachine.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)