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.001075/0.001075, allocations: 114.7 kB / 16.42 MB, free: 6.492 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.0009857/0.0009858, allocations: 190.5 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.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002129/0.002129, allocations: 291.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9146/0.9146, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 91.86 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3608, allocations: 86.98 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Examples.PumpsSeries): time 0.04704/0.4078, allocations: 51.46 MB / 0.8173 GB, free: 288 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02387/0.4317, allocations: 18.16 MB / 0.835 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002055/0.4338, allocations: 75.62 kB / 0.8351 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00424/0.4381, allocations: 1.911 MB / 0.837 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005348/0.4434, allocations: 2.709 MB / 0.8396 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004074/0.4475, allocations: 2.109 MB / 0.8417 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01729/0.4648, allocations: 14.07 MB / 0.8554 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002318/0.4671, allocations: 1.736 MB / 0.8571 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003832/0.471, allocations: 1.967 MB / 0.859 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002348/0.4734, allocations: 1.506 MB / 0.8605 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003409/0.4737, allocations: 220 kB / 0.8607 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003385/0.4771, allocations: 1.903 MB / 0.8626 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007489/0.4779, allocations: 0.8919 MB / 0.8635 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.4791, allocations: 1.384 MB / 0.8648 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004739/0.4839, allocations: 4.455 MB / 0.8692 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.4839, allocations: 0 / 0.8692 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4839, allocations: 0 / 0.8692 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.753e-05/0.4839, allocations: 4 kB / 0.8692 GB, free: 11.04 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.004812/0.4887, allocations: 3.156 MB / 0.8722 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.4888, allocations: 12.03 kB / 0.8723 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005441/0.4942, allocations: 0.9214 MB / 0.8731 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007118/0.5014, allocations: 3.531 MB / 0.8766 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.173e-05/0.5014, allocations: 89.94 kB / 0.8767 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.5016, allocations: 108 kB / 0.8768 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002848/0.5045, allocations: 1.49 MB / 0.8782 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.5045, allocations: 3.984 kB / 0.8782 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.5047, allocations: 40 kB / 0.8783 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.81e-05/0.5047, allocations: 41.94 kB / 0.8783 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003163/0.5079, allocations: 1.319 MB / 0.8796 GB, free: 128 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.008613/0.5165, allocations: 6.949 MB / 0.8864 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003106/0.5196, allocations: 1.124 MB / 0.8875 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.5208, allocations: 0.5005 MB / 0.888 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003301/0.5241, allocations: 2.735 MB / 0.8907 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.5242, allocations: 39.12 kB / 0.8907 GB, free: 4.141 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 2.255e-06/0.5242, allocations: 0 / 0.8907 GB, free: 4.141 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.004704/0.5289, allocations: 1.72 MB / 0.8924 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.529, allocations: 59.97 kB / 0.8924 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003082/0.5321, allocations: 2.579 MB / 0.8949 GB, free: 15.72 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.915e-05/0.5322, allocations: 49.64 kB / 0.895 GB, free: 15.67 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008083/0.533, allocations: 1.013 MB / 0.896 GB, free: 14.65 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.5332, allocations: 224.9 kB / 0.8962 GB, free: 14.43 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005638/0.5338, allocations: 439 kB / 0.8966 GB, free: 13.99 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.594e-05/0.5339, allocations: 301.1 kB / 0.8969 GB, free: 13.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001919/0.5358, allocations: 1.149 MB / 0.898 GB, free: 12.54 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002217/0.538, allocations: 1.545 MB / 0.8995 GB, free: 10.85 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003866/0.5419, allocations: 2.461 MB / 0.9019 GB, free: 8.281 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.5419, allocations: 7.938 kB / 0.9019 GB, free: 8.273 MB / 0.67 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.005002/0.5469, allocations: 3.053 MB / 0.9049 GB, free: 5.207 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.5469, allocations: 11.28 kB / 0.9049 GB, free: 5.199 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.547, allocations: 8 kB / 0.9049 GB, free: 5.191 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004818/0.5474, allocations: 148.7 kB / 0.9051 GB, free: 5.043 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.5489, allocations: 359.7 kB / 0.9054 GB, free: 4.691 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005468/0.5495, allocations: 0.6693 MB / 0.9061 GB, free: 3.996 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.551, allocations: 222.1 kB / 0.9063 GB, free: 3.777 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.5512, allocations: 95.97 kB / 0.9064 GB, free: 3.684 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002366/0.5536, allocations: 1.496 MB / 0.9078 GB, free: 2.184 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001943/0.5555, allocations: 1.354 MB / 0.9092 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003285/0.5588, allocations: 2.086 MB / 0.9112 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.459e-06/0.5588, allocations: 0 / 0.9112 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.004826/0.5637, allocations: 2.701 MB / 0.9138 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.5637, allocations: 8 kB / 0.9139 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.5637, allocations: 8 kB / 0.9139 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009274/0.5646, allocations: 213.3 kB / 0.9141 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.566, allocations: 343.5 kB / 0.9144 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005754/0.5717, allocations: 3.512 MB / 0.9178 GB, free: 7.484 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.5732, allocations: 178.9 kB / 0.918 GB, free: 7.309 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.5734, allocations: 79.97 kB / 0.9181 GB, free: 7.23 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.0003062/0.5737, allocations: 251.9 kB / 0.9183 GB, free: 6.977 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003077/0.574, allocations: 228.9 kB / 0.9185 GB, free: 6.75 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003799/0.5778, allocations: 1.583 MB / 0.9201 GB, free: 5.145 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.5779, allocations: 7.984 kB / 0.9201 GB, free: 5.137 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5779, allocations: 0 / 0.9201 GB, free: 5.137 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005962/0.5785, allocations: 433.6 kB / 0.9205 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002868/0.5788, allocations: 16 kB / 0.9205 GB, free: 4.676 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.5799, allocations: 75.86 kB / 0.9206 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.58, allocations: 60.56 kB / 0.9206 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003656/0.5837, allocations: 1.31 MB / 0.9219 GB, free: 3.223 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004204/0.5879, allocations: 2.049 MB / 0.9239 GB, free: 1.16 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001196/0.5891, allocations: 0.5087 MB / 0.9244 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002368/0.5915, allocations: 1.719 MB / 0.9261 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of Backend: time 3.31e-07/0.5915, allocations: 0 / 0.9261 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007309/0.5988, allocations: 3.798 MB / 0.9298 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of SimCode: time 0.008508/0.6074, allocations: 5.322 MB / 0.935 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of Templates: time 0.3602/0.9676, allocations: 59.63 MB / 0.9932 GB, free: 155 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)