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.001246/0.001246, allocations: 103.2 kB / 16.27 MB, free: 6.402 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.001206/0.001206, allocations: 188 kB / 17.2 MB, free: 5.938 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.313/1.313, allocations: 222.9 MB / 240.9 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8066/0.8066, allocations: 135.2 MB / 426.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 67.89 kB / 0.506 GB, free: 8.359 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3515, allocations: 80.9 MB / 0.585 GB, free: 25.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine): time 0.675/1.027, allocations: 373.2 MB / 0.9495 GB, free: 8.598 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.06592/1.093, allocations: 47.71 MB / 0.996 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006792/1.099, allocations: 187 kB / 0.9962 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.008763/1.108, allocations: 3.018 MB / 0.9992 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02554/1.134, allocations: 8.894 MB / 1.008 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0112/1.145, allocations: 4.279 MB / 1.012 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01908/1.164, allocations: 12.92 MB / 1.025 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009027/1.173, allocations: 4.538 MB / 1.029 GB, free: 6.781 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4266/1.6, allocations: 7.284 MB / 1.036 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008204/1.608, allocations: 4.094 MB / 1.04 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.002547/1.611, allocations: 0.5436 MB / 1.041 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01467/1.625, allocations: 6.786 MB / 1.047 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.004531/1.63, allocations: 2.576 MB / 1.05 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00818/1.638, allocations: 3.554 MB / 1.053 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.02075/1.659, allocations: 11.68 MB / 1.065 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.659, allocations: 0 / 1.065 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.064e-06/1.659, allocations: 0 / 1.065 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.000313/1.659, allocations: 0 / 1.065 GB, free: 11.35 MB / 0.7481 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.02004/1.679, allocations: 7.551 MB / 1.072 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/1.679, allocations: 9.672 kB / 1.072 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00895/1.688, allocations: 1.439 MB / 1.074 GB, free: 7.664 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01173/1.7, allocations: 6.104 MB / 1.08 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002101/1.7, allocations: 253.2 kB / 1.08 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/1.701, allocations: 334.3 kB / 1.08 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006446/1.708, allocations: 4.113 MB / 1.084 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.685e-05/1.708, allocations: 4.781 kB / 1.084 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002866/1.708, allocations: 125.9 kB / 1.084 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.88e-05/1.708, allocations: 109.2 kB / 1.084 GB, free: 6.109 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004674/1.713, allocations: 2.933 MB / 1.087 GB, free: 6.074 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.02308/1.736, allocations: 18.21 MB / 1.105 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00331/1.739, allocations: 2.232 MB / 1.107 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/1.741, allocations: 1.237 MB / 1.108 GB, free: 13.65 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003507/1.741, allocations: 222.3 kB / 1.109 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002049/1.743, allocations: 1.755 MB / 1.11 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=168): time 3.306e-06/1.743, allocations: 0 / 1.11 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of matching and sorting (n=168): time 0.007575/1.751, allocations: 3.892 MB / 1.114 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/1.751, allocations: 69.12 kB / 1.114 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008239/1.759, allocations: 5.736 MB / 1.12 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0007585/1.76, allocations: 76.83 kB / 1.12 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002201/1.762, allocations: 2.631 MB / 1.122 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009213/1.763, allocations: 0.5819 MB / 1.123 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008768/1.764, allocations: 0.6207 MB / 1.124 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.764, allocations: 305.1 kB / 1.124 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002285/1.767, allocations: 2.005 MB / 1.126 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003209/1.77, allocations: 3.151 MB / 1.129 GB, free: 9.562 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005385/1.775, allocations: 5.138 MB / 1.134 GB, free: 8.348 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.122e-05/1.775, allocations: 11.19 kB / 1.134 GB, free: 8.344 MB / 0.7637 GB Notification: Performance of matching and sorting (n=363) (initialization): time 0.009701/1.785, allocations: 5.898 MB / 1.14 GB, free: 7.91 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 8.117e-05/1.785, allocations: 47.09 kB / 1.14 GB, free: 7.879 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.003e-05/1.785, allocations: 37.28 kB / 1.14 GB, free: 7.875 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/1.786, allocations: 0.5796 MB / 1.14 GB, free: 7.855 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002806/1.789, allocations: 0.6212 MB / 1.141 GB, free: 7.766 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/1.793, allocations: 3.781 MB / 1.145 GB, free: 4.391 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004941/1.798, allocations: 344 kB / 1.145 GB, free: 4.117 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006732/1.798, allocations: 212.8 kB / 1.145 GB, free: 3.938 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005525/1.804, allocations: 2.962 MB / 1.148 GB, free: 2.25 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003482/1.807, allocations: 2.821 MB / 1.151 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005723/1.813, allocations: 4.486 MB / 1.155 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.452e-05/1.813, allocations: 12 kB / 1.155 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=363) (initialization_lambda0): time 0.009901/1.823, allocations: 5.286 MB / 1.16 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.628e-05/1.823, allocations: 49.69 kB / 1.16 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.048e-05/1.823, allocations: 32 kB / 1.16 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/1.825, allocations: 0.6723 MB / 1.161 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002595/1.828, allocations: 0.6089 MB / 1.162 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/1.841, allocations: 9.586 MB / 1.171 GB, free: 11.98 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005143/1.847, allocations: 258.5 kB / 1.171 GB, free: 11.73 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007909/1.847, allocations: 192 kB / 1.171 GB, free: 11.54 MB / 0.795 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.001333/1.849, allocations: 374.2 kB / 1.172 GB, free: 11.21 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001735/1.85, allocations: 0.5167 MB / 1.172 GB, free: 10.69 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00632/1.857, allocations: 3.01 MB / 1.175 GB, free: 7.676 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/1.857, allocations: 16 kB / 1.175 GB, free: 7.66 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.857, allocations: 0 / 1.175 GB, free: 7.66 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004018/1.861, allocations: 2.635 MB / 1.178 GB, free: 4.949 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/1.875, allocations: 6.934 MB / 1.185 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/1.875, allocations: 4 kB / 1.185 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002169/1.877, allocations: 469.3 kB / 1.185 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006527/1.878, allocations: 297 kB / 1.185 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000137/1.878, allocations: 55.97 kB / 1.185 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00264/1.88, allocations: 3.519 MB / 1.189 GB, free: 9.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/1.88, allocations: 4 kB / 1.189 GB, free: 9.555 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007607/1.888, allocations: 4.443 MB / 1.193 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002735/1.891, allocations: 0.8103 MB / 1.194 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00111/1.892, allocations: 39.98 kB / 1.194 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002365/1.894, allocations: 81.7 kB / 1.194 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/1.895, allocations: 113.8 kB / 1.194 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/1.895, allocations: 79.97 kB / 1.194 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0069/1.902, allocations: 3.933 MB / 1.198 GB, free: 4 kB / 0.8106 GB Notification: Performance of sort global known variables: time 3.21e-07/1.902, allocations: 0 / 1.198 GB, free: 4 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.008962/1.911, allocations: 2.497 MB / 1.201 GB, free: 13.5 MB / 0.8262 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.001646/1.912, allocations: 0.5927 MB / 1.201 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01513/1.928, allocations: 7.011 MB / 1.208 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.928, allocations: 4.25 kB / 1.208 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002585/1.93, allocations: 1.248 MB / 1.209 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0151/1.945, allocations: 3.22 MB / 1.212 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01892/1.964, allocations: 10.44 MB / 1.223 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003821/1.968, allocations: 3.253 MB / 1.226 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001478/1.97, allocations: 367.4 kB / 1.226 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of SimCode: time 1.022e-06/1.97, allocations: 0 / 1.226 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of Templates: time 0.5024/2.472, allocations: 214.7 MB / 1.436 GB, free: 499.3 MB / 0.9825 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)