Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001423/0.001423, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 195.6 kB / 16.53 MB, free: 6.699 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 472.6 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 64.59 kB / 0.912 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3114, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1761/0.4875, allocations: 161.6 MB / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003085/0.4907, allocations: 1.751 MB / 1.228 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004273/0.4911, allocations: 15.88 kB / 1.228 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006015/0.4918, allocations: 163 kB / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001426/0.4932, allocations: 0.5211 MB / 1.228 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.4944, allocations: 386.5 kB / 1.229 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00284/0.4972, allocations: 2.524 MB / 1.231 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.4986, allocations: 0.9255 MB / 1.232 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.5008, allocations: 1.012 MB / 1.233 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.5022, allocations: 0.7116 MB / 1.234 GB, free: 156 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.5024, allocations: 56 kB / 1.234 GB, free: 100 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.5042, allocations: 0.7368 MB / 1.235 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003962/0.5046, allocations: 310.7 kB / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008701/0.5055, allocations: 0.5401 MB / 1.235 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.5074, allocations: 1.382 MB / 1.237 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.5074, allocations: 0 / 1.237 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5074, allocations: 0 / 1.237 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.836e-05/0.5074, allocations: 4 kB / 1.237 GB, free: 13.12 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.002721/0.5102, allocations: 1.447 MB / 1.238 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.5102, allocations: 16.02 kB / 1.238 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008299/0.5111, allocations: 182.5 kB / 1.238 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.5123, allocations: 0.7983 MB / 1.239 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/0.5124, allocations: 45 kB / 1.239 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.341e-05/0.5125, allocations: 56 kB / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.5137, allocations: 0.7965 MB / 1.24 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.5137, allocations: 11.92 kB / 1.24 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.527e-05/0.5138, allocations: 20 kB / 1.24 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.5138, allocations: 16 kB / 1.24 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009407/0.5147, allocations: 0.5383 MB / 1.241 GB, free: 9.008 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.004107/0.5188, allocations: 4.61 MB / 1.245 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007297/0.5196, allocations: 418.7 kB / 1.245 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000388/0.52, allocations: 252.7 kB / 1.246 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000315/0.5203, allocations: 194.2 kB / 1.246 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004941/0.5208, allocations: 285.1 kB / 1.246 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.184e-06/0.5208, allocations: 0 / 1.246 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001399/0.5222, allocations: 0.6353 MB / 1.247 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.5223, allocations: 85.05 kB / 1.247 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.5237, allocations: 1.114 MB / 1.248 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.207e-05/0.5238, allocations: 33.7 kB / 1.248 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004924/0.5243, allocations: 0.4884 MB / 1.248 GB, free: 428 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.763e-05/0.5244, allocations: 118.5 kB / 1.249 GB, free: 308 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.5246, allocations: 106 kB / 1.249 GB, free: 196 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.6225/1.147, allocations: 323.8 kB / 1.249 GB, free: 23.03 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006468/1.148, allocations: 212 kB / 1.249 GB, free: 23.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006683/1.148, allocations: 0.5186 MB / 1.25 GB, free: 22.67 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009231/1.149, allocations: 0.6276 MB / 1.25 GB, free: 22.45 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.149, allocations: 1.625 kB / 1.25 GB, free: 22.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001521/1.151, allocations: 0.7215 MB / 1.251 GB, free: 22.39 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/1.151, allocations: 40.98 kB / 1.251 GB, free: 22.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/1.151, allocations: 6.406 kB / 1.251 GB, free: 22.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/1.151, allocations: 8.25 kB / 1.251 GB, free: 22.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/1.153, allocations: 343.8 kB / 1.251 GB, free: 22.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/1.155, allocations: 6.083 MB / 1.257 GB, free: 16.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007643/1.156, allocations: 75.3 kB / 1.257 GB, free: 16.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.216e-05/1.156, allocations: 25.08 kB / 1.257 GB, free: 16.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008726/1.157, allocations: 0.4959 MB / 1.258 GB, free: 16.44 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005268/1.158, allocations: 0.4903 MB / 1.258 GB, free: 16.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007699/1.158, allocations: 0.5625 MB / 1.259 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.212e-06/1.158, allocations: 5.859 kB / 1.259 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001136/1.16, allocations: 0.6408 MB / 1.26 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/1.16, allocations: 43.7 kB / 1.26 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.16, allocations: 4.969 kB / 1.26 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/1.16, allocations: 8.875 kB / 1.26 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005554/1.16, allocations: 155.7 kB / 1.26 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/1.16, allocations: 14.2 kB / 1.26 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006055/1.161, allocations: 66.84 kB / 1.26 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/1.161, allocations: 21.09 kB / 1.26 GB, free: 15.76 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.0001835/1.161, allocations: 221 kB / 1.26 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/1.161, allocations: 106.8 kB / 1.26 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009612/1.162, allocations: 499.3 kB / 1.261 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/1.162, allocations: 4.219 kB / 1.261 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/1.162, allocations: 4.156 kB / 1.261 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.162, allocations: 0.8438 kB / 1.261 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/1.164, allocations: 1.38 MB / 1.262 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/1.164, allocations: 2.5 kB / 1.262 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006076/1.165, allocations: 144 kB / 1.262 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/1.165, allocations: 6.188 kB / 1.262 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/1.165, allocations: 15.31 kB / 1.262 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002241/1.167, allocations: 6.021 MB / 1.268 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.167, allocations: 2.625 kB / 1.268 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009889/1.168, allocations: 0.6019 MB / 1.269 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003598/1.168, allocations: 207.5 kB / 1.269 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/1.169, allocations: 10.98 kB / 1.269 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004069/1.169, allocations: 24.31 kB / 1.269 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.169, allocations: 33.47 kB / 1.269 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/1.169, allocations: 8.75 kB / 1.269 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001425/1.171, allocations: 0.7913 MB / 1.27 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.61e-07/1.171, allocations: 0.9688 kB / 1.27 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001868/1.172, allocations: 413.8 kB / 1.27 GB, free: 8.672 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.0007104/1.173, allocations: 177.2 kB / 1.27 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003452/1.177, allocations: 1.124 MB / 1.271 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.177, allocations: 2.531 kB / 1.271 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007465/1.177, allocations: 291.1 kB / 1.272 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/1.179, allocations: 463.6 kB / 1.272 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/1.183, allocations: 1.81 MB / 1.274 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008109/1.184, allocations: 1.181 MB / 1.275 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001182/1.185, allocations: 359.4 kB / 1.275 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/1.185, allocations: 68.52 kB / 1.275 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of SimCode: time 8.32e-07/1.185, allocations: 0 / 1.275 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of Templates: time 0.0372/1.222, allocations: 17.94 MB / 1.293 GB, free: 6.145 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)