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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009406/0.0009407, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008749/0.000875, allocations: 182.6 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9515/0.9515, allocations: 135.3 MB / 427.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003644, allocations: 12 kB / 0.5082 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1689, allocations: 82.31 MB / 0.5886 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic): time 1.116/1.285, allocations: 365.9 MB / 0.9459 GB, free: 1.613 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.05409/1.339, allocations: 47.41 MB / 0.9922 GB, free: 0.668 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008723/1.348, allocations: 160.4 kB / 0.9924 GB, free: 0.668 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.008933/1.357, allocations: 2.636 MB / 0.9949 GB, free: 28 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02484/1.381, allocations: 8.452 MB / 1.003 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01164/1.393, allocations: 4.04 MB / 1.007 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.02549/1.419, allocations: 18.16 MB / 1.025 GB, free: 452 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009022/1.428, allocations: 4.048 MB / 1.029 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01933/1.447, allocations: 6.594 MB / 1.035 GB, free: 6.766 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01025/1.457, allocations: 4.354 MB / 1.04 GB, free: 2.746 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002002/1.459, allocations: 252 kB / 1.04 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01772/1.477, allocations: 7.505 MB / 1.047 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.004239/1.481, allocations: 2.344 MB / 1.049 GB, free: 9.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.008146/1.49, allocations: 3.362 MB / 1.053 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01574/1.505, allocations: 9.348 MB / 1.062 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.505, allocations: 3.938 kB / 1.062 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.054e-06/1.505, allocations: 0 / 1.062 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0003629/1.506, allocations: 0 / 1.062 GB, free: 13.15 MB / 0.7325 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.01916/1.525, allocations: 7.129 MB / 1.069 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.909e-05/1.525, allocations: 12.03 kB / 1.069 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/1.537, allocations: 1.732 MB / 1.07 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01549/1.553, allocations: 6.362 MB / 1.077 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004414/1.553, allocations: 282.2 kB / 1.077 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001503/1.555, allocations: 375.8 kB / 1.077 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01152/1.566, allocations: 4.436 MB / 1.082 GB, free: 8.746 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001273/1.566, allocations: 3.938 kB / 1.082 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007229/1.567, allocations: 131.1 kB / 1.082 GB, free: 8.617 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001405/1.567, allocations: 126.2 kB / 1.082 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007922/1.575, allocations: 3.315 MB / 1.085 GB, free: 5.168 MB / 0.7481 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.03687/1.612, allocations: 18.8 MB / 1.103 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006857/1.619, allocations: 2.721 MB / 1.106 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003331/1.622, allocations: 1.522 MB / 1.108 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004726/1.623, allocations: 226.5 kB / 1.108 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003625/1.626, allocations: 1.963 MB / 1.11 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003061/1.63, allocations: 332.9 kB / 1.11 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=200): time 1.061e-05/1.63, allocations: 0 / 1.11 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=200): time 0.01117/1.641, allocations: 4.359 MB / 1.114 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/1.641, allocations: 77.34 kB / 1.114 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01276/1.654, allocations: 5.885 MB / 1.12 GB, free: 148 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0007759/1.654, allocations: 81.7 kB / 1.12 GB, free: 60 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.003815/1.658, allocations: 2.736 MB / 1.123 GB, free: 13.32 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001322/1.66, allocations: 0.6984 MB / 1.124 GB, free: 12.63 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008961/1.66, allocations: 300.1 kB / 1.124 GB, free: 12.33 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001012/1.661, allocations: 305.1 kB / 1.124 GB, free: 12.03 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003939/1.665, allocations: 2.141 MB / 1.126 GB, free: 9.883 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004761/1.669, allocations: 3.294 MB / 1.129 GB, free: 6.078 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008517/1.678, allocations: 5.414 MB / 1.135 GB, free: 228 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.413e-05/1.678, allocations: 8 kB / 1.135 GB, free: 220 kB / 0.795 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01317/1.691, allocations: 6.295 MB / 1.141 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.000877/1.692, allocations: 1.004 MB / 1.142 GB, free: 8.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.729e-05/1.692, allocations: 28 kB / 1.142 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/1.693, allocations: 0.5716 MB / 1.142 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003979/1.697, allocations: 0.7321 MB / 1.143 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003859/1.701, allocations: 3.753 MB / 1.147 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005695/1.707, allocations: 326.2 kB / 1.147 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008245/1.708, allocations: 224 kB / 1.147 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/1.708, allocations: 4 kB / 1.147 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00995/1.718, allocations: 5.038 MB / 1.152 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.004e-05/1.718, allocations: 28 kB / 1.152 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00172/1.72, allocations: 0.6578 MB / 1.153 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00323/1.723, allocations: 0.7021 MB / 1.154 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/1.735, allocations: 8.287 MB / 1.162 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005212/1.74, allocations: 338.7 kB / 1.162 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007188/1.741, allocations: 200 kB / 1.162 GB, free: 3.027 MB / 0.8262 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 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (348): * Single equations (assignments): 338 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.004189/1.745, allocations: 1.56 MB / 1.164 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001702/1.746, allocations: 0.5399 MB / 1.164 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3268/2.073, allocations: 3.365 MB / 1.168 GB, free: 355 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/2.073, allocations: 20.84 kB / 1.168 GB, free: 355 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/2.073, allocations: 0 / 1.168 GB, free: 355 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004333/2.078, allocations: 2.918 MB / 1.17 GB, free: 354.5 MB / 0.8262 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.01413/2.092, allocations: 7.943 MB / 1.178 GB, free: 352.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/2.092, allocations: 7.719 kB / 1.178 GB, free: 352.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002523/2.094, allocations: 0.54 MB / 1.179 GB, free: 352.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005725/2.095, allocations: 280.1 kB / 1.179 GB, free: 352 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000186/2.095, allocations: 65.77 kB / 1.179 GB, free: 352 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/2.097, allocations: 3.5 MB / 1.182 GB, free: 348.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/2.097, allocations: 3.062 kB / 1.182 GB, free: 348.9 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007727/2.105, allocations: 4.92 MB / 1.187 GB, free: 347.1 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002478/2.107, allocations: 0.8554 MB / 1.188 GB, free: 346.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001259/2.108, allocations: 52.03 kB / 1.188 GB, free: 346.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003913/2.112, allocations: 316.4 kB / 1.188 GB, free: 346.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003337/2.113, allocations: 132.7 kB / 1.189 GB, free: 346.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001794/2.113, allocations: 92.75 kB / 1.189 GB, free: 346.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.007062/2.12, allocations: 4.049 MB / 1.193 GB, free: 345.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.022e-06/2.12, allocations: 0 / 1.193 GB, free: 345.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.009875/2.13, allocations: 2.656 MB / 1.195 GB, free: 345 MB / 0.8262 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 (198): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001735/2.132, allocations: 0.5975 MB / 1.196 GB, free: 344.8 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01431/2.146, allocations: 6.978 MB / 1.203 GB, free: 342.2 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/2.146, allocations: 2.219 kB / 1.203 GB, free: 342.2 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.003205/2.149, allocations: 1.428 MB / 1.204 GB, free: 341.8 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01821/2.168, allocations: 3.207 MB / 1.207 GB, free: 341.2 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02025/2.188, allocations: 13.24 MB / 1.22 GB, free: 334 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004839/2.193, allocations: 3.375 MB / 1.223 GB, free: 332.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001892/2.195, allocations: 405.3 kB / 1.224 GB, free: 332.8 MB / 0.8262 GB Notification: Performance of SimCode: time 7.52e-07/2.195, allocations: 0 / 1.224 GB, free: 332.8 MB / 0.8262 GB Notification: Performance of Templates: time 0.2148/2.409, allocations: 224.4 MB / 1.443 GB, free: 128 MB / 0.8262 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)