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.001013/0.001013, allocations: 92.62 kB / 16.02 MB, free: 80 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.001815/0.001815, allocations: 179.6 kB / 16.92 MB, free: 6.652 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.353/1.353, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9362/0.9362, allocations: 135.3 MB / 427.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003402, allocations: 9.938 kB / 0.5082 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1646, allocations: 82.31 MB / 0.5886 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine): time 1.059/1.224, allocations: 365.9 MB / 0.9459 GB, free: 1.648 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.05146/1.275, allocations: 47.41 MB / 0.9922 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007552/1.283, allocations: 161 kB / 0.9924 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.008027/1.291, allocations: 2.605 MB / 0.9949 GB, free: 56 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02496/1.316, allocations: 8.365 MB / 1.003 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01249/1.328, allocations: 3.892 MB / 1.007 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.02391/1.352, allocations: 17.71 MB / 1.024 GB, free: 0.957 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009581/1.362, allocations: 3.808 MB / 1.028 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01955/1.382, allocations: 6.452 MB / 1.034 GB, free: 7.723 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01015/1.392, allocations: 4.177 MB / 1.038 GB, free: 3.875 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002216/1.394, allocations: 236 kB / 1.038 GB, free: 3.645 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01764/1.412, allocations: 7.505 MB / 1.046 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.004254/1.416, allocations: 2.27 MB / 1.048 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.008378/1.424, allocations: 3.194 MB / 1.051 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01509/1.44, allocations: 8.954 MB / 1.06 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/1.44, allocations: 4 kB / 1.06 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.837e-06/1.44, allocations: 3.938 kB / 1.06 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0003779/1.44, allocations: 0 / 1.06 GB, free: 14.92 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: 743 * Number of variables: 743 Notification: Performance of Generate backend data structure: time 0.01742/1.457, allocations: 6.807 MB / 1.067 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/1.458, allocations: 8.031 kB / 1.067 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009571/1.467, allocations: 1.446 MB / 1.068 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01308/1.48, allocations: 6.099 MB / 1.074 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003258/1.481, allocations: 253.8 kB / 1.074 GB, free: 300 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001326/1.482, allocations: 344.3 kB / 1.075 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01156/1.494, allocations: 4.121 MB / 1.079 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000147/1.494, allocations: 7.938 kB / 1.079 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008217/1.495, allocations: 119.8 kB / 1.079 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001466/1.495, allocations: 117.6 kB / 1.079 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006907/1.502, allocations: 3.032 MB / 1.082 GB, free: 8.453 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.03042/1.532, allocations: 17.95 MB / 1.099 GB, free: 5.449 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005185/1.537, allocations: 2.359 MB / 1.102 GB, free: 3.09 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002402/1.54, allocations: 1.268 MB / 1.103 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004339/1.54, allocations: 231.1 kB / 1.103 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00312/1.543, allocations: 1.81 MB / 1.105 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003111/1.547, allocations: 362.2 kB / 1.105 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=176): time 1.21e-05/1.547, allocations: 0 / 1.105 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=176): time 0.00982/1.556, allocations: 3.984 MB / 1.109 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/1.556, allocations: 77.34 kB / 1.109 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01199/1.568, allocations: 5.734 MB / 1.115 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0007594/1.569, allocations: 84.45 kB / 1.115 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.003411/1.573, allocations: 2.621 MB / 1.117 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001175/1.574, allocations: 0.6083 MB / 1.118 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008551/1.575, allocations: 282.8 kB / 1.118 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001082/1.575, allocations: 317 kB / 1.118 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003421/1.578, allocations: 2.016 MB / 1.12 GB, free: 15.61 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004149/1.583, allocations: 3.177 MB / 1.124 GB, free: 11.91 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00696/1.59, allocations: 5.189 MB / 1.129 GB, free: 6.285 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.841e-05/1.59, allocations: 8 kB / 1.129 GB, free: 6.277 MB / 0.795 GB Notification: Performance of matching and sorting (n=371) (initialization): time 0.009784/1.599, allocations: 5.981 MB / 1.134 GB, free: 276 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007887/1.6, allocations: 1.033 MB / 1.135 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.371e-05/1.6, allocations: 32 kB / 1.136 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/1.601, allocations: 0.5865 MB / 1.136 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003072/1.605, allocations: 0.6318 MB / 1.137 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003321/1.608, allocations: 3.776 MB / 1.14 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005396/1.613, allocations: 316.4 kB / 1.141 GB, free: 9.352 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006147/1.614, allocations: 220 kB / 1.141 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/1.614, allocations: 4 kB / 1.141 GB, free: 9.133 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007483/1.621, allocations: 4.844 MB / 1.146 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.788e-05/1.622, allocations: 36.91 kB / 1.146 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001631/1.623, allocations: 0.677 MB / 1.146 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002625/1.626, allocations: 0.6241 MB / 1.147 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/1.638, allocations: 8.799 MB / 1.156 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005278/1.643, allocations: 301 kB / 1.156 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006534/1.644, allocations: 204 kB / 1.156 GB, free: 9.285 MB / 0.8262 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 (320): * Single equations (assignments): 310 * 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.003678/1.647, allocations: 1.521 MB / 1.158 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001411/1.649, allocations: 0.5167 MB / 1.158 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005729/1.655, allocations: 3.072 MB / 1.161 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/1.655, allocations: 19.98 kB / 1.161 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/1.655, allocations: 0 / 1.161 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003805/1.658, allocations: 2.682 MB / 1.164 GB, free: 1.352 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.3502/2.009, allocations: 7.341 MB / 1.171 GB, free: 355.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/2.009, allocations: 0 / 1.171 GB, free: 355.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/2.011, allocations: 490.8 kB / 1.171 GB, free: 355.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005978/2.011, allocations: 289.8 kB / 1.172 GB, free: 355.2 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001394/2.012, allocations: 56.06 kB / 1.172 GB, free: 355.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/2.013, allocations: 3.529 MB / 1.175 GB, free: 352.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/2.013, allocations: 3.094 kB / 1.175 GB, free: 352.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00645/2.02, allocations: 4.489 MB / 1.179 GB, free: 351.4 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002491/2.022, allocations: 0.8034 MB / 1.18 GB, free: 351.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00122/2.024, allocations: 38.02 kB / 1.18 GB, free: 351.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003571/2.027, allocations: 298.7 kB / 1.181 GB, free: 351.1 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002527/2.027, allocations: 124.3 kB / 1.181 GB, free: 351.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/2.028, allocations: 80.94 kB / 1.181 GB, free: 351 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00683/2.034, allocations: 3.934 MB / 1.185 GB, free: 349.6 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.292e-06/2.034, allocations: 0 / 1.185 GB, free: 349.6 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.009438/2.044, allocations: 2.534 MB / 1.187 GB, free: 349.4 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 (172): * Single equations (assignments): 165 * 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.001681/2.046, allocations: 0.5966 MB / 1.188 GB, free: 349.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01223/2.058, allocations: 6.607 MB / 1.194 GB, free: 346.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/2.058, allocations: 1.781 kB / 1.194 GB, free: 346.7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002797/2.061, allocations: 1.275 MB / 1.195 GB, free: 346.3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01845/2.079, allocations: 3.147 MB / 1.198 GB, free: 345.8 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02213/2.101, allocations: 12.41 MB / 1.211 GB, free: 339.1 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003542/2.105, allocations: 3.244 MB / 1.214 GB, free: 337.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/2.107, allocations: 376.6 kB / 1.214 GB, free: 337.8 MB / 0.8262 GB Notification: Performance of SimCode: time 1.132e-06/2.107, allocations: 1.562 kB / 1.214 GB, free: 337.8 MB / 0.8262 GB Notification: Performance of Templates: time 0.2088/2.315, allocations: 214.3 MB / 1.423 GB, free: 148.2 MB / 0.8262 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)