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.001081/0.001081, allocations: 114.5 kB / 16.42 MB, free: 6.039 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.001155/0.001155, allocations: 186.2 kB / 17.34 MB, free: 5.625 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.322/1.322, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8001/0.8001, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 67.05 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1404, allocations: 80.92 MB / 0.6653 GB, free: 5.754 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter fan3.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter fan2.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic): time 0.6919/0.8323, allocations: 373.1 MB / 1.03 GB, free: 9.449 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.5159/1.348, allocations: 47.69 MB / 1.076 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007516/1.356, allocations: 185 kB / 1.076 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.008728/1.365, allocations: 3.145 MB / 1.08 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02323/1.388, allocations: 9.33 MB / 1.089 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.011/1.399, allocations: 4.454 MB / 1.093 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.02127/1.42, allocations: 13.45 MB / 1.106 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008297/1.428, allocations: 4.844 MB / 1.111 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01752/1.446, allocations: 7.796 MB / 1.118 GB, free: 456 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008667/1.455, allocations: 4.332 MB / 1.123 GB, free: 16 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002103/1.457, allocations: 0.5917 MB / 1.123 GB, free: 16 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01532/1.472, allocations: 6.85 MB / 1.13 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.004244/1.476, allocations: 2.694 MB / 1.133 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.008043/1.484, allocations: 3.754 MB / 1.136 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.02346/1.508, allocations: 12.37 MB / 1.148 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.508, allocations: 0 / 1.148 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.144e-06/1.508, allocations: 0 / 1.148 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0003056/1.508, allocations: 2.875 kB / 1.148 GB, free: 11.81 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: 813 * Number of variables: 813 Notification: Performance of Generate backend data structure: time 0.0202/1.529, allocations: 8.183 MB / 1.156 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/1.529, allocations: 11.67 kB / 1.156 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/1.54, allocations: 1.727 MB / 1.158 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/1.552, allocations: 6.571 MB / 1.164 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/1.553, allocations: 276.4 kB / 1.165 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007995/1.553, allocations: 376.1 kB / 1.165 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007219/1.561, allocations: 4.412 MB / 1.169 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.716e-05/1.561, allocations: 7.656 kB / 1.169 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003029/1.561, allocations: 135.8 kB / 1.17 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/1.561, allocations: 130.4 kB / 1.17 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006003/1.567, allocations: 3.209 MB / 1.173 GB, free: 14.52 MB / 0.8419 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.02929/1.596, allocations: 18.96 MB / 1.191 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00534/1.602, allocations: 2.575 MB / 1.194 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002605/1.604, allocations: 1.498 MB / 1.195 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003618/1.605, allocations: 221 kB / 1.195 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002919/1.608, allocations: 1.923 MB / 1.197 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=192): time 4.548e-06/1.608, allocations: 0 / 1.197 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=192): time 0.009648/1.617, allocations: 4.306 MB / 1.202 GB, free: 176 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/1.617, allocations: 69.41 kB / 1.202 GB, free: 92 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008674/1.626, allocations: 5.889 MB / 1.207 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0006056/1.627, allocations: 81.7 kB / 1.207 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.002617/1.629, allocations: 2.766 MB / 1.21 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009164/1.63, allocations: 0.7085 MB / 1.211 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/1.631, allocations: 0.6716 MB / 1.212 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.594e-05/1.631, allocations: 305.1 kB / 1.212 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003156/1.635, allocations: 2.133 MB / 1.214 GB, free: 3.547 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004025/1.639, allocations: 3.261 MB / 1.217 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007542/1.646, allocations: 5.36 MB / 1.222 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.906e-05/1.646, allocations: 8 kB / 1.222 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of matching and sorting (n=389) (initialization): time 0.0106/1.657, allocations: 6.23 MB / 1.228 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.827e-05/1.657, allocations: 53.64 kB / 1.228 GB, free: 3.945 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.87e-05/1.657, allocations: 28 kB / 1.228 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/1.658, allocations: 0.5712 MB / 1.229 GB, free: 3.344 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003563/1.662, allocations: 0.7179 MB / 1.23 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/1.665, allocations: 3.748 MB / 1.233 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004484/1.67, allocations: 383.6 kB / 1.234 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003809/1.67, allocations: 216 kB / 1.234 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004916/1.675, allocations: 3.086 MB / 1.237 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003384/1.678, allocations: 2.889 MB / 1.24 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006103/1.685, allocations: 4.645 MB / 1.244 GB, free: 2.789 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.41e-05/1.685, allocations: 8 kB / 1.244 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of matching and sorting (n=389) (initialization_lambda0): time 0.009185/1.694, allocations: 5.518 MB / 1.25 GB, free: 13.38 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/1.694, allocations: 41.7 kB / 1.25 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.209e-05/1.694, allocations: 32 kB / 1.25 GB, free: 13.3 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00175/1.696, allocations: 0.6577 MB / 1.25 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002791/1.698, allocations: 0.6875 MB / 1.251 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/1.71, allocations: 9.281 MB / 1.26 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004316/1.714, allocations: 290.9 kB / 1.26 GB, free: 2.109 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003141/1.715, allocations: 200 kB / 1.261 GB, free: 1.914 MB / 0.92 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 (340): * Single equations (assignments): 330 * 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.0007335/1.715, allocations: 380.2 kB / 1.261 GB, free: 1.578 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007194/1.716, allocations: 0.5659 MB / 1.262 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006333/1.722, allocations: 3.289 MB / 1.265 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004675/1.727, allocations: 2.872 MB / 1.268 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/1.727, allocations: 0 / 1.268 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001685/1.729, allocations: 0.8912 MB / 1.268 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006817/1.73, allocations: 47.92 kB / 1.269 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002312/1.732, allocations: 111 kB / 1.269 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003037/1.732, allocations: 141.8 kB / 1.269 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007111/1.739, allocations: 3.155 MB / 1.272 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007263/1.747, allocations: 4.742 MB / 1.276 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001918/1.749, allocations: 1.218 MB / 1.278 GB, free: 448 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.005766/1.754, allocations: 4.046 MB / 1.282 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of Backend: time 3e-07/1.754, allocations: 0 / 1.282 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01571/1.77, allocations: 7.411 MB / 1.289 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0222/1.792, allocations: 13.8 MB / 1.302 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of Templates: time 0.495/2.287, allocations: 144.5 MB / 1.443 GB, free: 0.5567 GB / 1.092 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)