Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009113/0.0009112, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.00587/0.005871, allocations: 170.5 kB / 16.27 MB, free: 6.656 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.382/1.382, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.815/2.815, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003318, allocations: 11.81 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3289, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1789/0.5079, allocations: 157.3 MB / 1.228 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003042/0.511, allocations: 1.745 MB / 1.229 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002859/0.5113, allocations: 11.94 kB / 1.229 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005545/0.5118, allocations: 131.2 kB / 1.23 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.5131, allocations: 0.4941 MB / 1.23 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009475/0.514, allocations: 357.7 kB / 1.23 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003191/0.5172, allocations: 3.475 MB / 1.234 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009857/0.5182, allocations: 0.7504 MB / 1.235 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.5197, allocations: 0.8908 MB / 1.235 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008927/0.5206, allocations: 0.7194 MB / 1.236 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.179e-05/0.5207, allocations: 32 kB / 1.236 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.522, allocations: 0.799 MB / 1.237 GB, free: 240 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000275/0.5223, allocations: 282.8 kB / 1.237 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005414/0.5229, allocations: 0.5262 MB / 1.238 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.5243, allocations: 1.366 MB / 1.239 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5243, allocations: 0 / 1.239 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5243, allocations: 0 / 1.239 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.5243, allocations: 4 kB / 1.239 GB, free: 14.05 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001978/0.5263, allocations: 1.264 MB / 1.24 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.5263, allocations: 16.03 kB / 1.24 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007465/0.5271, allocations: 178.5 kB / 1.24 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.5283, allocations: 0.7983 MB / 1.241 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.596e-05/0.5283, allocations: 44.98 kB / 1.241 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.022e-05/0.5284, allocations: 60 kB / 1.241 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.5296, allocations: 0.8043 MB / 1.242 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.5296, allocations: 7.938 kB / 1.242 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.307e-05/0.5297, allocations: 24 kB / 1.242 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.5297, allocations: 15.94 kB / 1.242 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009366/0.5306, allocations: 0.5462 MB / 1.243 GB, free: 10.1 MB / 0.9981 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.003719/0.5344, allocations: 4.595 MB / 1.247 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007202/0.5351, allocations: 434.2 kB / 1.248 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00039/0.5355, allocations: 248.7 kB / 1.248 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002782/0.5358, allocations: 194.2 kB / 1.248 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004924/0.5363, allocations: 293.6 kB / 1.248 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.004e-06/0.5363, allocations: 0 / 1.248 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001345/0.5376, allocations: 0.653 MB / 1.249 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.5377, allocations: 81.11 kB / 1.249 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.539, allocations: 1.118 MB / 1.25 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.168e-05/0.5391, allocations: 37.7 kB / 1.25 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003948/0.5395, allocations: 496 kB / 1.251 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.471e-05/0.5396, allocations: 110.5 kB / 1.251 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.035e-05/0.5396, allocations: 45.69 kB / 1.251 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.5397, allocations: 325.9 kB / 1.251 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/0.5401, allocations: 216.7 kB / 1.251 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005852/0.5407, allocations: 0.5213 MB / 1.252 GB, free: 128 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6767/1.217, allocations: 0.6369 MB / 1.252 GB, free: 24.29 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/1.217, allocations: 1.812 kB / 1.252 GB, free: 24.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001498/1.219, allocations: 0.7353 MB / 1.253 GB, free: 24.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/1.219, allocations: 273.1 kB / 1.253 GB, free: 23.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.219, allocations: 4.781 kB / 1.253 GB, free: 23.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/1.219, allocations: 9.781 kB / 1.253 GB, free: 23.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/1.221, allocations: 353.2 kB / 1.254 GB, free: 23.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/1.224, allocations: 6.084 MB / 1.26 GB, free: 18.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000916/1.225, allocations: 96.23 kB / 1.26 GB, free: 18.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.075e-05/1.225, allocations: 25.8 kB / 1.26 GB, free: 18.09 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/1.225, allocations: 3.531 kB / 1.26 GB, free: 18.09 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001099/1.226, allocations: 0.5464 MB / 1.26 GB, free: 18.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/1.226, allocations: 9.156 kB / 1.26 GB, free: 18.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/1.226, allocations: 8.625 kB / 1.26 GB, free: 18.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005581/1.227, allocations: 154.4 kB / 1.261 GB, free: 18.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/1.227, allocations: 16.2 kB / 1.261 GB, free: 18.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006535/1.227, allocations: 91.7 kB / 1.261 GB, free: 18.03 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/1.227, allocations: 24.34 kB / 1.261 GB, free: 18.03 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005815/1.228, allocations: 468.6 kB / 1.261 GB, free: 17.84 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/1.228, allocations: 106.1 kB / 1.261 GB, free: 17.83 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009715/1.229, allocations: 0.4923 MB / 1.262 GB, free: 17.77 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/1.229, allocations: 3.844 kB / 1.262 GB, free: 17.77 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.229, allocations: 1.031 kB / 1.262 GB, free: 17.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/1.229, allocations: 1.969 kB / 1.262 GB, free: 17.77 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/1.231, allocations: 1.397 MB / 1.263 GB, free: 17.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.231, allocations: 2.906 kB / 1.263 GB, free: 17.33 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005987/1.232, allocations: 153.6 kB / 1.263 GB, free: 17.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/1.232, allocations: 3.062 kB / 1.263 GB, free: 17.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/1.232, allocations: 13.59 kB / 1.263 GB, free: 17.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/1.234, allocations: 6.029 MB / 1.269 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.234, allocations: 2.094 kB / 1.269 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008978/1.235, allocations: 0.6073 MB / 1.27 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002933/1.235, allocations: 222.7 kB / 1.27 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/1.235, allocations: 9.469 kB / 1.27 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004566/1.235, allocations: 47.42 kB / 1.27 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/1.236, allocations: 36.73 kB / 1.27 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/1.236, allocations: 10.17 kB / 1.27 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009384/1.237, allocations: 0.7919 MB / 1.271 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.237, allocations: 0 / 1.271 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001094/1.238, allocations: 414.3 kB / 1.271 GB, free: 10.94 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003996/1.238, allocations: 171.5 kB / 1.271 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002921/1.241, allocations: 1.113 MB / 1.272 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/1.241, allocations: 0 / 1.272 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007982/1.242, allocations: 307.7 kB / 1.273 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/1.244, allocations: 450.5 kB / 1.273 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/1.247, allocations: 2.108 MB / 1.275 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008264/1.248, allocations: 1.181 MB / 1.276 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00119/1.249, allocations: 379.2 kB / 1.277 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/1.249, allocations: 65.91 kB / 1.277 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/1.249, allocations: 0 / 1.277 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of Templates: time 0.03636/1.286, allocations: 17.21 MB / 1.294 GB, free: 7.867 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)