Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries") translateModel(BuildingSystems.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001142/0.001142, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001136/0.001136, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002168/0.002168, allocations: 294.3 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9608/0.9608, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 91.86 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.419, allocations: 86.97 MB / 0.767 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Examples.PumpsSeries): time 0.04686/0.4659, allocations: 51.48 MB / 0.8173 GB, free: 312 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0252/0.4911, allocations: 18.16 MB / 0.835 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002904/0.4941, allocations: 75.56 kB / 0.8351 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005103/0.4992, allocations: 1.908 MB / 0.837 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006608/0.5059, allocations: 2.709 MB / 0.8396 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004786/0.5107, allocations: 2.106 MB / 0.8417 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01827/0.529, allocations: 14.07 MB / 0.8554 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003045/0.532, allocations: 1.736 MB / 0.8571 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004524/0.5366, allocations: 1.979 MB / 0.859 GB, free: 5.461 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002697/0.5393, allocations: 1.51 MB / 0.8605 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0007802/0.5401, allocations: 212 kB / 0.8607 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004207/0.5443, allocations: 1.903 MB / 0.8626 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001222/0.5456, allocations: 0.888 MB / 0.8634 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002559/0.5481, allocations: 1.387 MB / 0.8648 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007118/0.5553, allocations: 4.463 MB / 0.8692 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.5553, allocations: 0 / 0.8692 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5553, allocations: 0 / 0.8692 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001203/0.5555, allocations: 0 / 0.8692 GB, free: 11.07 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.007011/0.5625, allocations: 3.16 MB / 0.8722 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.5625, allocations: 16.02 kB / 0.8723 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005661/0.5682, allocations: 0.9214 MB / 0.8732 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007827/0.5761, allocations: 3.515 MB / 0.8766 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.5762, allocations: 89.94 kB / 0.8767 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002991/0.5765, allocations: 112 kB / 0.8768 GB, free: 3.113 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002979/0.5795, allocations: 1.486 MB / 0.8782 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.5795, allocations: 0 / 0.8782 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.5797, allocations: 44 kB / 0.8783 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.079e-05/0.5797, allocations: 38 kB / 0.8783 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003133/0.5829, allocations: 1.319 MB / 0.8796 GB, free: 168 kB / 0.6387 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.009649/0.5925, allocations: 6.953 MB / 0.8864 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003029/0.5956, allocations: 1.13 MB / 0.8875 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.5968, allocations: 0.5043 MB / 0.888 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003668/0.6005, allocations: 2.731 MB / 0.8906 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.6005, allocations: 39.12 kB / 0.8907 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 5.15e-06/0.6005, allocations: 7.938 kB / 0.8907 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.004778/0.6053, allocations: 1.72 MB / 0.8924 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.6054, allocations: 55.97 kB / 0.8924 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00328/0.6087, allocations: 2.579 MB / 0.8949 GB, free: 15.75 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.6088, allocations: 49.7 kB / 0.895 GB, free: 15.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007939/0.6096, allocations: 1.013 MB / 0.896 GB, free: 14.68 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/0.6098, allocations: 220.9 kB / 0.8962 GB, free: 14.46 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005999/0.6105, allocations: 443 kB / 0.8966 GB, free: 14.02 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.6105, allocations: 301.1 kB / 0.8969 GB, free: 13.72 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/0.6125, allocations: 1.141 MB / 0.898 GB, free: 12.58 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/0.6147, allocations: 1.549 MB / 0.8995 GB, free: 10.88 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003853/0.6186, allocations: 2.457 MB / 0.9019 GB, free: 8.312 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/0.6186, allocations: 11.94 kB / 0.9019 GB, free: 8.301 MB / 0.67 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.005425/0.624, allocations: 3.045 MB / 0.9049 GB, free: 5.242 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.6241, allocations: 8 kB / 0.9049 GB, free: 5.234 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.6241, allocations: 8.625 kB / 0.9049 GB, free: 5.227 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005256/0.6247, allocations: 148.8 kB / 0.9051 GB, free: 5.078 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/0.6261, allocations: 363.4 kB / 0.9054 GB, free: 4.723 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005791/0.6267, allocations: 0.6655 MB / 0.9061 GB, free: 4.031 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/0.6286, allocations: 222.1 kB / 0.9063 GB, free: 3.812 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001858/0.6288, allocations: 91.97 kB / 0.9064 GB, free: 3.723 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002594/0.6314, allocations: 1.507 MB / 0.9078 GB, free: 2.211 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001988/0.6334, allocations: 1.354 MB / 0.9092 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003359/0.6368, allocations: 2.09 MB / 0.9112 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.626e-06/0.6369, allocations: 4 kB / 0.9112 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.005277/0.6421, allocations: 2.698 MB / 0.9138 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.6422, allocations: 8 kB / 0.9138 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.6422, allocations: 8.062 kB / 0.9139 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009461/0.6432, allocations: 212.7 kB / 0.9141 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.6446, allocations: 347.5 kB / 0.9144 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005624/0.6502, allocations: 3.507 MB / 0.9178 GB, free: 7.512 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/0.6523, allocations: 178.9 kB / 0.918 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002625/0.6525, allocations: 79.97 kB / 0.9181 GB, free: 7.258 MB / 0.6856 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 (167): * Single equations (assignments): 162 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0004869/0.653, allocations: 255.9 kB / 0.9183 GB, free: 7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000602/0.6536, allocations: 228.9 kB / 0.9185 GB, free: 6.773 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004088/0.6577, allocations: 1.579 MB / 0.9201 GB, free: 5.172 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/0.6578, allocations: 8 kB / 0.9201 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6578, allocations: 0 / 0.9201 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.6578, allocations: 3.984 kB / 0.9201 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006553/0.6644, allocations: 3.104 MB / 0.9231 GB, free: 1.977 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.6644, allocations: 0 / 0.9231 GB, free: 1.977 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009422/0.6654, allocations: 163.9 kB / 0.9233 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003433/0.6657, allocations: 100.8 kB / 0.9234 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.816e-05/0.6658, allocations: 35.97 kB / 0.9234 GB, free: 1.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004598/0.6663, allocations: 0.6498 MB / 0.924 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6663, allocations: 0 / 0.924 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004906/0.6712, allocations: 2.14 MB / 0.9261 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009606/0.6722, allocations: 425.8 kB / 0.9265 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00048/0.6727, allocations: 20.09 kB / 0.9265 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/0.6741, allocations: 79.84 kB / 0.9266 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.6742, allocations: 60.36 kB / 0.9267 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.6744, allocations: 39.97 kB / 0.9267 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003196/0.6776, allocations: 1.731 MB / 0.9284 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6776, allocations: 0 / 0.9284 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003983/0.6816, allocations: 1.205 MB / 0.9296 GB, free: 11.25 MB / 0.7012 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 (67): * Single equations (assignments): 60 * 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.001933/0.6835, allocations: 0.7115 MB / 0.9303 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006832/0.6904, allocations: 3.499 MB / 0.9337 GB, free: 7.035 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.6904, allocations: 4.062 kB / 0.9337 GB, free: 7.031 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001545/0.692, allocations: 0.5773 MB / 0.9343 GB, free: 6.449 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005197/0.6972, allocations: 1.153 MB / 0.9354 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007675/0.7049, allocations: 4.147 MB / 0.9394 GB, free: 1.145 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/0.7065, allocations: 1.693 MB / 0.9411 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008441/0.7074, allocations: 199.3 kB / 0.9413 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of SimCode: time 8.51e-07/0.7074, allocations: 4 kB / 0.9413 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of Templates: time 0.403/1.11, allocations: 53.47 MB / 0.9935 GB, free: 152.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)