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.00121/0.00121, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.0009612/0.0009612, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.287/1.287, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002081/0.002081, allocations: 297.8 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9291/0.9291, allocations: 169.2 MB / 0.499 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 103.8 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3743, allocations: 86.97 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Examples.PumpsSeries): time 0.04773/0.422, allocations: 51.47 MB / 0.8173 GB, free: 296 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02389/0.446, allocations: 18.16 MB / 0.835 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.4482, allocations: 79.56 kB / 0.8351 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004705/0.453, allocations: 1.913 MB / 0.837 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006176/0.4592, allocations: 2.829 MB / 0.8397 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004777/0.4639, allocations: 2.1 MB / 0.8418 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01884/0.4828, allocations: 14.09 MB / 0.8556 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002658/0.4855, allocations: 1.728 MB / 0.8572 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004157/0.4896, allocations: 1.984 MB / 0.8592 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002421/0.4921, allocations: 1.506 MB / 0.8607 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005547/0.4926, allocations: 216 kB / 0.8609 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003804/0.4965, allocations: 1.907 MB / 0.8627 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000998/0.4975, allocations: 0.8957 MB / 0.8636 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001832/0.4993, allocations: 1.38 MB / 0.8649 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005688/0.505, allocations: 4.455 MB / 0.8693 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.505, allocations: 0 / 0.8693 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.533e-06/0.505, allocations: 4 kB / 0.8693 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.463e-05/0.5051, allocations: 0 / 0.8693 GB, free: 10.91 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.006397/0.5115, allocations: 3.172 MB / 0.8724 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.5116, allocations: 8.031 kB / 0.8724 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005603/0.5172, allocations: 0.9253 MB / 0.8733 GB, free: 6.727 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007738/0.5249, allocations: 3.512 MB / 0.8767 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.087e-05/0.525, allocations: 85.94 kB / 0.8768 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/0.5252, allocations: 116 kB / 0.8769 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003036/0.5283, allocations: 1.482 MB / 0.8784 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.5283, allocations: 3.938 kB / 0.8784 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.5285, allocations: 44 kB / 0.8784 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.913e-05/0.5285, allocations: 38 kB / 0.8785 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003302/0.5318, allocations: 1.319 MB / 0.8797 GB, free: 0 / 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.009327/0.5411, allocations: 6.949 MB / 0.8865 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/0.5443, allocations: 1.137 MB / 0.8876 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.5456, allocations: 0.4905 MB / 0.8881 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003693/0.5493, allocations: 2.739 MB / 0.8908 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.5493, allocations: 39.11 kB / 0.8908 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 2.014e-06/0.5493, allocations: 0 / 0.8908 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.004861/0.5542, allocations: 1.724 MB / 0.8925 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.5542, allocations: 59.97 kB / 0.8926 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003413/0.5577, allocations: 2.579 MB / 0.8951 GB, free: 15.59 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.5578, allocations: 45.7 kB / 0.8951 GB, free: 15.54 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008342/0.5586, allocations: 1.013 MB / 0.8961 GB, free: 14.52 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000222/0.5589, allocations: 220.9 kB / 0.8963 GB, free: 14.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005916/0.5595, allocations: 447 kB / 0.8968 GB, free: 13.86 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.084e-05/0.5596, allocations: 301.1 kB / 0.897 GB, free: 13.56 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002025/0.5616, allocations: 1.141 MB / 0.8982 GB, free: 12.41 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002325/0.5639, allocations: 1.541 MB / 0.8997 GB, free: 10.73 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003917/0.5679, allocations: 2.461 MB / 0.9021 GB, free: 8.156 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.5679, allocations: 4 kB / 0.9021 GB, free: 8.152 MB / 0.67 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.005308/0.5732, allocations: 3.057 MB / 0.9051 GB, free: 5.082 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.5732, allocations: 8 kB / 0.9051 GB, free: 5.074 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.5733, allocations: 11.94 kB / 0.9051 GB, free: 5.062 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004972/0.5738, allocations: 148.8 kB / 0.9052 GB, free: 4.914 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/0.5753, allocations: 364 kB / 0.9056 GB, free: 4.559 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005697/0.5759, allocations: 0.6655 MB / 0.9062 GB, free: 3.867 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/0.5777, allocations: 214.1 kB / 0.9064 GB, free: 3.656 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/0.5779, allocations: 104 kB / 0.9065 GB, free: 3.555 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00251/0.5804, allocations: 1.499 MB / 0.908 GB, free: 2.051 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001976/0.5824, allocations: 1.354 MB / 0.9093 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00326/0.5857, allocations: 2.086 MB / 0.9113 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.619e-06/0.5857, allocations: 0 / 0.9113 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.00504/0.5907, allocations: 2.701 MB / 0.914 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.5908, allocations: 8 kB / 0.914 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.5908, allocations: 8.688 kB / 0.914 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009563/0.5917, allocations: 216.7 kB / 0.9142 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.5931, allocations: 343.5 kB / 0.9145 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005759/0.5989, allocations: 3.515 MB / 0.918 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/0.6008, allocations: 178.9 kB / 0.9181 GB, free: 7.172 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/0.601, allocations: 83.97 kB / 0.9182 GB, free: 7.09 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.0003698/0.6013, allocations: 247.9 kB / 0.9185 GB, free: 6.84 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/0.6017, allocations: 232.9 kB / 0.9187 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003938/0.6056, allocations: 1.575 MB / 0.9202 GB, free: 5.012 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.6057, allocations: 3.984 kB / 0.9202 GB, free: 5.008 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.6057, allocations: 0 / 0.9202 GB, free: 5.008 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007538/0.6064, allocations: 433.6 kB / 0.9206 GB, free: 4.562 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002712/0.6067, allocations: 12 kB / 0.9206 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.6079, allocations: 75.92 kB / 0.9207 GB, free: 4.477 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.608, allocations: 56.58 kB / 0.9208 GB, free: 4.422 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003745/0.6118, allocations: 1.314 MB / 0.9221 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00429/0.6161, allocations: 2.056 MB / 0.9241 GB, free: 1.027 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001243/0.6173, allocations: 0.5087 MB / 0.9246 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002453/0.6198, allocations: 1.723 MB / 0.9262 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of Backend: time 8.12e-07/0.6198, allocations: 0 / 0.9262 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007673/0.6275, allocations: 3.793 MB / 0.9299 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of SimCode: time 0.008691/0.6362, allocations: 5.335 MB / 0.9352 GB, free: 5.648 MB / 0.7012 GB Notification: Performance of Templates: time 0.3595/0.9957, allocations: 59.64 MB / 0.9934 GB, free: 154.9 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)