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.01129/0.0113, allocations: 171.8 kB / 15.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.351/1.351, allocations: 135.2 MB / 151 MB, free: 13.81 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.687/2.687, allocations: 223.2 MB / 406.8 MB, free: 3.242 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.001302/0.001302, allocations: 91.11 kB / 489.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006285/0.0006286, allocations: 12 kB / 0.5692 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8913/0.892, allocations: 82.3 MB / 0.6495 GB, free: 36.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.915/9.808, allocations: 1.913 GB / 2.563 GB, free: 23.76 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004612/9.808, allocations: 94.08 kB / 2.563 GB, free: 23.71 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 33.24/43.04, allocations: 4.412 GB / 6.974 GB, free: 50.76 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.06e-06/43.04, allocations: 0 / 6.974 GB, free: 50.76 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.003034/43.05, allocations: 162.2 kB / 6.975 GB, free: 50.74 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.06743/43.12, allocations: 10.85 MB / 6.985 GB, free: 47.77 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 8.421e-05/43.12, allocations: 9.188 kB / 6.985 GB, free: 47.77 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003926/43.12, allocations: 441.3 kB / 6.986 GB, free: 47.71 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02017/43.14, allocations: 1.643 MB / 6.987 GB, free: 47.33 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05138/43.19, allocations: 11.15 MB / 6.998 GB, free: 46.16 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008331/43.19, allocations: 278.7 kB / 6.998 GB, free: 46.15 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003187/43.2, allocations: 381.9 kB / 6.999 GB, free: 46.14 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02127/43.22, allocations: 4.244 MB / 7.003 GB, free: 45.82 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002569/43.22, allocations: 8.469 kB / 7.003 GB, free: 45.82 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00196/43.22, allocations: 135.6 kB / 7.003 GB, free: 45.82 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002661/43.22, allocations: 122.1 kB / 7.003 GB, free: 45.81 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01597/43.23, allocations: 3.247 MB / 7.006 GB, free: 45.78 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.07674/43.31, allocations: 20.14 MB / 7.026 GB, free: 38.14 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01322/43.33, allocations: 3.139 MB / 7.029 GB, free: 37.72 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008434/43.33, allocations: 235.4 kB / 7.029 GB, free: 37.54 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006965/43.33, allocations: 1.846 MB / 7.031 GB, free: 37.46 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007107/43.34, allocations: 349.8 kB / 7.031 GB, free: 37.34 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=211): time 3.3e-05/43.34, allocations: 6.344 kB / 7.031 GB, free: 37.34 MB / 0.8542 GB Notification: Performance of matching and sorting (n=211): time 0.02183/43.36, allocations: 4.34 MB / 7.036 GB, free: 36.73 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.21e-05/43.36, allocations: 78.23 kB / 7.036 GB, free: 36.67 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02924/43.39, allocations: 6.389 MB / 7.042 GB, free: 36.29 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.002207/43.39, allocations: 87.8 kB / 7.042 GB, free: 36.25 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.009423/43.4, allocations: 2.776 MB / 7.045 GB, free: 35.62 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.003038/43.41, allocations: 0.7315 MB / 7.045 GB, free: 35.15 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007646/43.41, allocations: 61.75 kB / 7.046 GB, free: 35.15 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0006443/43.41, allocations: 429.9 kB / 7.046 GB, free: 34.84 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00478/43.41, allocations: 1.292 MB / 7.047 GB, free: 34.83 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006434/43.42, allocations: 2.535 MB / 7.05 GB, free: 33.37 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007334/43.43, allocations: 1.651 MB / 7.051 GB, free: 33.29 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001314/43.43, allocations: 10.62 kB / 7.051 GB, free: 33.29 MB / 0.8542 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.023/43.45, allocations: 4.409 MB / 7.056 GB, free: 32.82 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.01086/43.46, allocations: 14.78 MB / 7.07 GB, free: 33.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003077/43.46, allocations: 29.62 kB / 7.07 GB, free: 33.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/43.46, allocations: 241.9 kB / 7.07 GB, free: 33.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007473/43.47, allocations: 0.7573 MB / 7.071 GB, free: 33.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006825/43.48, allocations: 3.448 MB / 7.074 GB, free: 30.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01354/43.49, allocations: 349.1 kB / 7.075 GB, free: 30.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002521/43.49, allocations: 261.4 kB / 7.075 GB, free: 30.66 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/43.49, allocations: 3.188 kB / 7.075 GB, free: 30.66 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01858/43.51, allocations: 4.223 MB / 7.079 GB, free: 30.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000324/43.51, allocations: 34.12 kB / 7.079 GB, free: 30.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002145/43.51, allocations: 0.5443 MB / 7.08 GB, free: 30.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005462/43.52, allocations: 0.7406 MB / 7.08 GB, free: 30.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01848/43.54, allocations: 7.395 MB / 7.088 GB, free: 27.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01252/43.55, allocations: 343.9 kB / 7.088 GB, free: 27.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002228/43.55, allocations: 230.4 kB / 7.088 GB, free: 27.34 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.01182/43.57, allocations: 1.578 MB / 7.09 GB, free: 27.13 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005268/43.57, allocations: 0.5507 MB / 7.09 GB, free: 26.82 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02063/43.59, allocations: 3.395 MB / 7.094 GB, free: 26.62 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.475e-05/43.59, allocations: 21.69 kB / 7.094 GB, free: 26.62 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.2e-05/43.59, allocations: 4.875 kB / 7.094 GB, free: 26.62 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01071/43.6, allocations: 2.868 MB / 7.096 GB, free: 26.11 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.04555/43.65, allocations: 9.101 MB / 7.105 GB, free: 25.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.402e-05/43.65, allocations: 2.156 kB / 7.105 GB, free: 25.22 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004466/43.65, allocations: 0.5459 MB / 7.106 GB, free: 25.21 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/43.65, allocations: 244.6 kB / 7.106 GB, free: 25.19 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008593/43.65, allocations: 77.3 kB / 7.106 GB, free: 25.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005031/43.66, allocations: 3.288 MB / 7.109 GB, free: 22.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/43.66, allocations: 0 / 7.109 GB, free: 22.39 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02262/43.68, allocations: 5.148 MB / 7.114 GB, free: 21.39 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0105/43.69, allocations: 1.215 MB / 7.116 GB, free: 20.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005628/43.7, allocations: 51.27 kB / 7.116 GB, free: 20.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009897/43.71, allocations: 332.2 kB / 7.116 GB, free: 20.97 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001508/43.71, allocations: 142.5 kB / 7.116 GB, free: 20.96 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001261/43.71, allocations: 109 kB / 7.116 GB, free: 20.96 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.02211/43.73, allocations: 4.876 MB / 7.121 GB, free: 20.75 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.903e-06/43.73, allocations: 2.344 kB / 7.121 GB, free: 20.75 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.02989/43.76, allocations: 3.545 MB / 7.124 GB, free: 20.43 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.05446/43.82, allocations: 16.8 MB / 7.141 GB, free: 28.77 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02493/43.84, allocations: 5.765 MB / 7.146 GB, free: 28.34 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.303e-05/43.84, allocations: 2.344 kB / 7.146 GB, free: 28.34 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00683/43.85, allocations: 1.394 MB / 7.148 GB, free: 28.32 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02828/43.88, allocations: 3.214 MB / 7.151 GB, free: 28.25 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08523/43.96, allocations: 36.19 MB / 7.186 GB, free: 16.88 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01269/43.98, allocations: 3.568 MB / 7.19 GB, free: 16.05 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.02049/44, allocations: 1.676 MB / 7.191 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0126/44.01, allocations: 2.704 MB / 7.194 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of SimCode: time 2.454e-06/44.01, allocations: 7.688 kB / 7.194 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.323/46.33, allocations: 277 MB / 7.464 GB, free: 84.46 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002859/46.33, allocations: 268.3 kB / 7.465 GB, free: 84.11 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.27/75.61, allocations: 0 / 7.465 GB, free: 84.11 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)