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.001237/0.001237, allocations: 105.4 kB / 16.41 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.001264/0.001264, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002207/0.002207, allocations: 293.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9461/0.9461, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 91.84 kB / 0.6821 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.4275, allocations: 86.99 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Examples.PumpsSeries): time 0.04967/0.4773, allocations: 51.46 MB / 0.8173 GB, free: 296 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02601/0.5033, allocations: 18.16 MB / 0.835 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003857/0.5072, allocations: 79.56 kB / 0.8351 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005775/0.513, allocations: 1.908 MB / 0.837 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007755/0.5208, allocations: 2.718 MB / 0.8396 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005276/0.5261, allocations: 2.094 MB / 0.8417 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0199/0.546, allocations: 14.07 MB / 0.8554 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003405/0.5494, allocations: 1.732 MB / 0.8571 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005484/0.555, allocations: 1.982 MB / 0.859 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002871/0.5578, allocations: 1.506 MB / 0.8605 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0007969/0.5587, allocations: 216 kB / 0.8607 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004855/0.5635, allocations: 1.903 MB / 0.8626 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001342/0.5649, allocations: 0.888 MB / 0.8634 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001987/0.5669, allocations: 1.384 MB / 0.8648 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006918/0.5738, allocations: 4.467 MB / 0.8692 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.964e-06/0.5739, allocations: 4 kB / 0.8692 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5739, allocations: 0 / 0.8692 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.537e-05/0.574, allocations: 0 / 0.8692 GB, free: 11.05 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.006037/0.58, allocations: 3.156 MB / 0.8722 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.5801, allocations: 11.97 kB / 0.8723 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005458/0.5855, allocations: 0.9331 MB / 0.8732 GB, free: 6.867 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008365/0.5939, allocations: 3.508 MB / 0.8766 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.5941, allocations: 89.94 kB / 0.8767 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003192/0.5944, allocations: 120 kB / 0.8768 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/0.5973, allocations: 1.482 MB / 0.8782 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.5974, allocations: 7.938 kB / 0.8782 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.5975, allocations: 40 kB / 0.8783 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.176e-05/0.5976, allocations: 45.98 kB / 0.8783 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003075/0.6006, allocations: 1.308 MB / 0.8796 GB, free: 144 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.01162/0.6123, allocations: 6.945 MB / 0.8864 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003237/0.6156, allocations: 1.139 MB / 0.8875 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.6168, allocations: 0.4995 MB / 0.888 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004903/0.6217, allocations: 2.734 MB / 0.8907 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.6218, allocations: 39.12 kB / 0.8907 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 2.896e-06/0.6218, allocations: 4 kB / 0.8907 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.0051/0.6269, allocations: 1.72 MB / 0.8924 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.627, allocations: 59.97 kB / 0.8924 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004949/0.6319, allocations: 2.587 MB / 0.895 GB, free: 15.73 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002222/0.6322, allocations: 37.7 kB / 0.895 GB, free: 15.68 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009918/0.6332, allocations: 1.017 MB / 0.896 GB, free: 14.66 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003388/0.6335, allocations: 224.9 kB / 0.8962 GB, free: 14.43 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008215/0.6344, allocations: 442.9 kB / 0.8966 GB, free: 14 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.6345, allocations: 305.1 kB / 0.8969 GB, free: 13.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00203/0.6365, allocations: 1.141 MB / 0.898 GB, free: 12.55 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002372/0.6389, allocations: 1.542 MB / 0.8995 GB, free: 10.86 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004122/0.643, allocations: 2.461 MB / 0.9019 GB, free: 8.289 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/0.6431, allocations: 7.938 kB / 0.9019 GB, free: 8.281 MB / 0.67 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.00592/0.649, allocations: 3.045 MB / 0.9049 GB, free: 5.223 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/0.6491, allocations: 12.61 kB / 0.9049 GB, free: 5.211 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.703e-05/0.6491, allocations: 12 kB / 0.9049 GB, free: 5.199 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005752/0.6497, allocations: 148.8 kB / 0.9051 GB, free: 5.051 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/0.6512, allocations: 359.5 kB / 0.9054 GB, free: 4.699 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006522/0.6519, allocations: 0.6654 MB / 0.9061 GB, free: 4.008 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/0.654, allocations: 222.2 kB / 0.9063 GB, free: 3.789 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002217/0.6542, allocations: 99.89 kB / 0.9064 GB, free: 3.691 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002783/0.657, allocations: 1.503 MB / 0.9079 GB, free: 2.184 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002008/0.659, allocations: 1.35 MB / 0.9092 GB, free: 0.6914 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0034/0.6625, allocations: 2.086 MB / 0.9112 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-05/0.6625, allocations: 4 kB / 0.9112 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.005465/0.668, allocations: 2.698 MB / 0.9138 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.668, allocations: 12 kB / 0.9139 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/0.668, allocations: 8 kB / 0.9139 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009445/0.669, allocations: 208.9 kB / 0.9141 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.6704, allocations: 343.5 kB / 0.9144 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005889/0.6763, allocations: 3.508 MB / 0.9178 GB, free: 7.492 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/0.6786, allocations: 178.9 kB / 0.918 GB, free: 7.316 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000306/0.679, allocations: 87.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.0005786/0.6796, allocations: 247.9 kB / 0.9183 GB, free: 6.98 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006664/0.6802, allocations: 236.9 kB / 0.9185 GB, free: 6.746 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004255/0.6845, allocations: 1.563 MB / 0.9201 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.6845, allocations: 11.98 kB / 0.9201 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6846, allocations: 4 kB / 0.9201 GB, free: 5.145 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.6846, allocations: 3.984 kB / 0.9201 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007273/0.6919, allocations: 3.104 MB / 0.9231 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.6919, allocations: 8 kB / 0.9231 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009249/0.6928, allocations: 159.9 kB / 0.9233 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003905/0.6932, allocations: 104.7 kB / 0.9234 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.45e-05/0.6933, allocations: 31.97 kB / 0.9234 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004945/0.6938, allocations: 0.6421 MB / 0.924 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6939, allocations: 80 / 0.924 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004933/0.6988, allocations: 2.148 MB / 0.9261 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/0.7001, allocations: 429.8 kB / 0.9265 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005889/0.7007, allocations: 16 kB / 0.9266 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/0.7023, allocations: 71.92 kB / 0.9266 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.7025, allocations: 56.42 kB / 0.9267 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.7026, allocations: 43.97 kB / 0.9267 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.004007/0.7066, allocations: 1.727 MB / 0.9284 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7066, allocations: 0 / 0.9284 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004584/0.7112, allocations: 1.205 MB / 0.9296 GB, free: 11.24 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.002086/0.7133, allocations: 0.7228 MB / 0.9303 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007139/0.7205, allocations: 3.499 MB / 0.9337 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.7205, allocations: 0 / 0.9337 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001524/0.722, allocations: 0.5697 MB / 0.9343 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005405/0.7275, allocations: 1.156 MB / 0.9354 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008345/0.7358, allocations: 4.154 MB / 0.9394 GB, free: 1.121 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/0.7377, allocations: 1.689 MB / 0.9411 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008547/0.7385, allocations: 211.2 kB / 0.9413 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of SimCode: time 9.12e-07/0.7385, allocations: 0 / 0.9413 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of Templates: time 0.4408/1.179, allocations: 53.8 MB / 0.9938 GB, free: 151.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)