Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries") translateModel(IDEAS.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 112.6 kB / 16.37 MB, free: 6 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.001075/0.001075, allocations: 196 kB / 17.31 MB, free: 5.613 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7809/0.7809, allocations: 132.2 MB / 423.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001259, allocations: 67.89 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.342, allocations: 80.17 MB / 0.5815 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpsSeries): time 0.07829/0.4203, allocations: 50.73 MB / 0.631 GB, free: 11.55 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03266/0.4531, allocations: 16.09 MB / 0.6467 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003058/0.4562, allocations: 75.56 kB / 0.6468 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003197/0.4594, allocations: 1.074 MB / 0.6479 GB, free: 10.26 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006521/0.466, allocations: 2.425 MB / 0.6502 GB, free: 7.828 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004683/0.4707, allocations: 2 MB / 0.6522 GB, free: 5.844 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006021/0.4767, allocations: 4.417 MB / 0.6565 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002473/0.4792, allocations: 1.669 MB / 0.6581 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004041/0.4833, allocations: 1.8 MB / 0.6599 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002168/0.4854, allocations: 1.353 MB / 0.6612 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003432/0.4858, allocations: 184 kB / 0.6614 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003087/0.4889, allocations: 1.568 MB / 0.6629 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000662/0.4896, allocations: 0.6074 MB / 0.6635 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.4908, allocations: 1.026 MB / 0.6645 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00447/0.4953, allocations: 3.416 MB / 0.6678 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4953, allocations: 3.938 kB / 0.6678 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4953, allocations: 4 kB / 0.6678 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.857e-05/0.4954, allocations: 0 / 0.6678 GB, free: 5.734 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004251/0.4996, allocations: 2.388 MB / 0.6702 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.4997, allocations: 8.031 kB / 0.6702 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003019/0.5027, allocations: 0.5603 MB / 0.6707 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004346/0.5071, allocations: 1.851 MB / 0.6725 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.745e-05/0.5072, allocations: 86 kB / 0.6726 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.5074, allocations: 111.9 kB / 0.6727 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/0.5098, allocations: 1.236 MB / 0.6739 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.5098, allocations: 0 / 0.6739 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.5099, allocations: 44 kB / 0.674 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.511e-05/0.51, allocations: 34 kB / 0.674 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/0.5122, allocations: 0.9524 MB / 0.6749 GB, free: 14.3 MB / 0.5137 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.007837/0.5201, allocations: 5.822 MB / 0.6806 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/0.522, allocations: 0.7956 MB / 0.6814 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007886/0.5229, allocations: 352.4 kB / 0.6817 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003136/0.526, allocations: 2.153 MB / 0.6838 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.5261, allocations: 35.12 kB / 0.6839 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=57): time 2.124e-06/0.5261, allocations: 4 kB / 0.6839 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of matching and sorting (n=57): time 0.003451/0.5295, allocations: 1.217 MB / 0.6851 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.5296, allocations: 55.97 kB / 0.6851 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/0.5316, allocations: 1.511 MB / 0.6866 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.5318, allocations: 45.7 kB / 0.6866 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005992/0.5324, allocations: 0.7796 MB / 0.6874 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.5326, allocations: 201 kB / 0.6876 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003193/0.5329, allocations: 214.4 kB / 0.6878 GB, free: 440 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.533, allocations: 337.9 kB / 0.6881 GB, free: 96 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009355/0.534, allocations: 424.6 kB / 0.6885 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.5352, allocations: 0.7228 MB / 0.6892 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/0.5373, allocations: 1.093 MB / 0.6903 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.5373, allocations: 8 kB / 0.6903 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003024/0.5403, allocations: 1.366 MB / 0.6916 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.5404, allocations: 8.688 kB / 0.6917 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.5404, allocations: 8 kB / 0.6917 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005168/0.5409, allocations: 152.8 kB / 0.6918 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009307/0.5418, allocations: 227.7 kB / 0.692 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006088/0.5425, allocations: 0.6615 MB / 0.6927 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.5436, allocations: 119 kB / 0.6928 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.5437, allocations: 59.91 kB / 0.6928 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001327/0.545, allocations: 0.6815 MB / 0.6935 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009798/0.546, allocations: 0.6476 MB / 0.6941 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001714/0.5477, allocations: 0.9761 MB / 0.6951 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.538e-06/0.5478, allocations: 4 kB / 0.6951 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of matching and sorting (n=107) (initialization_lambda0): time 0.002885/0.5506, allocations: 1.257 MB / 0.6963 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.5507, allocations: 14.64 kB / 0.6963 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.5507, allocations: 12.03 kB / 0.6963 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009395/0.5516, allocations: 208.7 kB / 0.6965 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008535/0.5525, allocations: 211.9 kB / 0.6967 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00597/0.5585, allocations: 3.504 MB / 0.7002 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.5597, allocations: 83.41 kB / 0.7002 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/0.5599, allocations: 51.98 kB / 0.7003 GB, free: 2.863 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 97 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003319/0.5602, allocations: 232.7 kB / 0.7005 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004271/0.5607, allocations: 165.9 kB / 0.7007 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002907/0.5636, allocations: 1.197 MB / 0.7018 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.5636, allocations: 12 kB / 0.7019 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5636, allocations: 0 / 0.7019 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.5636, allocations: 3.984 kB / 0.7019 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004978/0.5686, allocations: 2.384 MB / 0.7042 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.5686, allocations: 0 / 0.7042 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000682/0.5693, allocations: 131.8 kB / 0.7043 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003525/0.5697, allocations: 104.8 kB / 0.7044 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.381e-05/0.5698, allocations: 27.98 kB / 0.7044 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004732/0.5703, allocations: 0.6381 MB / 0.7051 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5703, allocations: 4.031 kB / 0.7051 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003403/0.5737, allocations: 1.58 MB / 0.7066 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007509/0.5744, allocations: 338.7 kB / 0.7069 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003131/0.5748, allocations: 12 kB / 0.7069 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008743/0.5756, allocations: 43.95 kB / 0.707 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.5758, allocations: 56.38 kB / 0.707 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-05/0.5758, allocations: 31.97 kB / 0.7071 GB, free: 11.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001597/0.5775, allocations: 1.024 MB / 0.7081 GB, free: 10.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5775, allocations: 0 / 0.7081 GB, free: 10.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002751/0.5802, allocations: 0.8848 MB / 0.7089 GB, free: 9.844 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.s[1],floMac1.filter.s[2],floMac2.filter.s[1],floMac2.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001369/0.5816, allocations: 0.5567 MB / 0.7095 GB, free: 9.289 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003656/0.5853, allocations: 1.653 MB / 0.7111 GB, free: 7.633 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5853, allocations: 0 / 0.7111 GB, free: 7.633 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.5863, allocations: 435.9 kB / 0.7115 GB, free: 7.203 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003001/0.5893, allocations: 0.7576 MB / 0.7123 GB, free: 6.488 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005051/0.5944, allocations: 2.798 MB / 0.715 GB, free: 3.645 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/0.5956, allocations: 1.364 MB / 0.7163 GB, free: 2.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001495/0.5971, allocations: 409.2 kB / 0.7167 GB, free: 1.844 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/0.5974, allocations: 135.4 kB / 0.7168 GB, free: 1.715 MB / 0.545 GB Notification: Performance of SimCode: time 7.71e-07/0.5974, allocations: 0 / 0.7168 GB, free: 1.715 MB / 0.545 GB Notification: Performance of Templates: time 0.2962/0.8936, allocations: 35.98 MB / 0.752 GB, free: 155.8 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.sim & ./IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)