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/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.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine") translateModel(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 105.4 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 192.1 kB / 17.34 MB, free: 5.766 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8069/0.8069, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 62.41 kB / 0.5863 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.151, allocations: 80.92 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine): time 0.7427/0.8937, allocations: 373.1 MB / 1.03 GB, free: 9.508 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6364/1.53, allocations: 47.67 MB / 1.076 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008663/1.539, allocations: 186.8 kB / 1.076 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.009456/1.548, allocations: 3.024 MB / 1.079 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.025/1.573, allocations: 8.89 MB / 1.088 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01251/1.586, allocations: 4.309 MB / 1.092 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0207/1.607, allocations: 12.94 MB / 1.105 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008946/1.616, allocations: 4.532 MB / 1.109 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.019/1.635, allocations: 7.448 MB / 1.117 GB, free: 496 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0106/1.645, allocations: 4.107 MB / 1.121 GB, free: 148 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002871/1.648, allocations: 0.5457 MB / 1.121 GB, free: 148 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01695/1.665, allocations: 6.774 MB / 1.128 GB, free: 84 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.004969/1.67, allocations: 2.581 MB / 1.13 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.009632/1.68, allocations: 3.554 MB / 1.134 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.02594/1.706, allocations: 11.8 MB / 1.145 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/1.706, allocations: 0 / 1.145 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.063e-06/1.706, allocations: 4 kB / 1.145 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0003845/1.706, allocations: 0 / 1.145 GB, free: 12.69 MB / 0.8262 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.02351/1.73, allocations: 7.557 MB / 1.153 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/1.73, allocations: 9.703 kB / 1.153 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/1.741, allocations: 1.442 MB / 1.154 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01529/1.756, allocations: 6.254 MB / 1.16 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003466/1.757, allocations: 256.1 kB / 1.16 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001717/1.758, allocations: 344.5 kB / 1.161 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01083/1.769, allocations: 4.111 MB / 1.165 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001319/1.769, allocations: 3.656 kB / 1.165 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009394/1.77, allocations: 128.5 kB / 1.165 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/1.771, allocations: 107.6 kB / 1.165 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007711/1.778, allocations: 2.929 MB / 1.168 GB, free: 2.305 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 preOpt removeSimpleEquations (simulation): time 0.03453/1.813, allocations: 18.09 MB / 1.186 GB, free: 472 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00508/1.818, allocations: 2.233 MB / 1.188 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002485/1.821, allocations: 1.248 MB / 1.189 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004401/1.821, allocations: 213.7 kB / 1.189 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003199/1.824, allocations: 1.756 MB / 1.191 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=168): time 5.871e-06/1.824, allocations: 0 / 1.191 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of matching and sorting (n=168): time 0.01068/1.835, allocations: 3.894 MB / 1.195 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/1.835, allocations: 69.41 kB / 1.195 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0139/1.849, allocations: 5.73 MB / 1.2 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0009514/1.85, allocations: 80.52 kB / 1.2 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.004254/1.854, allocations: 2.64 MB / 1.203 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.001446/1.856, allocations: 0.5834 MB / 1.204 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002564/1.858, allocations: 0.6226 MB / 1.204 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001147/1.858, allocations: 301.1 kB / 1.204 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003274/1.862, allocations: 2.012 MB / 1.206 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004166/1.866, allocations: 3.148 MB / 1.209 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008337/1.874, allocations: 5.139 MB / 1.215 GB, free: 1.949 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.965e-05/1.874, allocations: 12 kB / 1.215 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of matching and sorting (n=363) (initialization): time 0.01205/1.887, allocations: 5.893 MB / 1.22 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.503e-05/1.887, allocations: 45.7 kB / 1.22 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-05/1.887, allocations: 28 kB / 1.22 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/1.888, allocations: 0.5919 MB / 1.221 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003506/1.892, allocations: 0.6173 MB / 1.222 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003892/1.896, allocations: 3.78 MB / 1.225 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005364/1.901, allocations: 338.6 kB / 1.226 GB, free: 6.734 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008682/1.902, allocations: 218.4 kB / 1.226 GB, free: 6.523 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006577/1.908, allocations: 2.953 MB / 1.229 GB, free: 3.562 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003822/1.912, allocations: 2.823 MB / 1.231 GB, free: 240 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006642/1.919, allocations: 4.485 MB / 1.236 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.393e-05/1.919, allocations: 12 kB / 1.236 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of matching and sorting (n=363) (initialization_lambda0): time 0.01081/1.93, allocations: 5.294 MB / 1.241 GB, free: 6.301 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.623e-05/1.93, allocations: 45.7 kB / 1.241 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.71e-05/1.93, allocations: 35.75 kB / 1.241 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001889/1.932, allocations: 0.6705 MB / 1.242 GB, free: 5.543 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002922/1.935, allocations: 0.6134 MB / 1.242 GB, free: 4.973 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/1.948, allocations: 9.584 MB / 1.252 GB, free: 11.09 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005404/1.953, allocations: 266.6 kB / 1.252 GB, free: 10.83 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009426/1.954, allocations: 192 kB / 1.252 GB, free: 10.64 MB / 0.92 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 (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 (312): * Single equations (assignments): 302 * 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,6), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001603/1.956, allocations: 361.5 kB / 1.252 GB, free: 10.32 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001965/1.958, allocations: 0.5206 MB / 1.253 GB, free: 9.797 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007379/1.965, allocations: 3.007 MB / 1.256 GB, free: 6.789 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/1.965, allocations: 19.94 kB / 1.256 GB, free: 6.77 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.965, allocations: 0 / 1.256 GB, free: 6.77 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00434/1.97, allocations: 2.626 MB / 1.258 GB, free: 4.059 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01713/1.987, allocations: 6.929 MB / 1.265 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/1.987, allocations: 4 kB / 1.265 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002388/1.989, allocations: 476.8 kB / 1.266 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007176/1.99, allocations: 279.7 kB / 1.266 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002466/1.99, allocations: 51.98 kB / 1.266 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002619/1.993, allocations: 3.531 MB / 1.269 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.993, allocations: 0 / 1.269 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008695/2.002, allocations: 4.438 MB / 1.274 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003209/2.005, allocations: 0.818 MB / 1.275 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001966/2.007, allocations: 32 kB / 1.275 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003602/2.01, allocations: 85.42 kB / 1.275 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003188/2.011, allocations: 112.3 kB / 1.275 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002272/2.011, allocations: 79.97 kB / 1.275 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.009783/2.021, allocations: 3.937 MB / 1.279 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9.02e-07/2.021, allocations: 4 kB / 1.279 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.01231/2.033, allocations: 2.501 MB / 1.281 GB, free: 12.62 MB / 0.9512 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 (164): * Single equations (assignments): 157 * 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,7), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002543/2.036, allocations: 0.5867 MB / 1.282 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01477/2.051, allocations: 6.531 MB / 1.288 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/2.051, allocations: 0 / 1.288 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002841/2.054, allocations: 1.256 MB / 1.289 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01672/2.07, allocations: 3.202 MB / 1.292 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02344/2.094, allocations: 10.32 MB / 1.303 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005646/2.099, allocations: 3.243 MB / 1.306 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001675/2.101, allocations: 367.4 kB / 1.306 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of SimCode: time 9.32e-07/2.101, allocations: 0 / 1.306 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of Templates: time 0.6614/2.763, allocations: 216.1 MB / 1.517 GB, free: 0.5093 GB / 1.092 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)