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.001114/0.001114, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001226/0.001226, allocations: 197.9 kB / 16.14 MB, free: 6.695 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.377/1.377, allocations: 222.9 MB / 239.8 MB, free: 4.656 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.816/2.816, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 65.72 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3203, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1757/0.496, allocations: 159.4 MB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003191/0.4993, allocations: 1.782 MB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000486/0.4998, allocations: 11.88 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006566/0.5005, allocations: 135.2 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.502, allocations: 0.4886 MB / 1.225 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.5031, allocations: 353.7 kB / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003393/0.5066, allocations: 3.487 MB / 1.229 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.5078, allocations: 0.7547 MB / 1.23 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001967/0.5098, allocations: 0.9064 MB / 1.231 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.5112, allocations: 0.7272 MB / 1.232 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002744/0.5115, allocations: 40 kB / 1.232 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.5134, allocations: 0.799 MB / 1.232 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004588/0.5139, allocations: 286.9 kB / 1.233 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.515, allocations: 0.5167 MB / 1.233 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002319/0.5173, allocations: 1.382 MB / 1.235 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5174, allocations: 0 / 1.235 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5174, allocations: 4 kB / 1.235 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.016e-05/0.5174, allocations: 4 kB / 1.235 GB, free: 15.22 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.003683/0.5211, allocations: 1.439 MB / 1.236 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.5212, allocations: 8.031 kB / 1.236 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.5222, allocations: 194.5 kB / 1.236 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.5238, allocations: 0.7983 MB / 1.237 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.21e-05/0.5238, allocations: 41 kB / 1.237 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.814e-05/0.524, allocations: 67.88 kB / 1.237 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.5254, allocations: 0.7965 MB / 1.238 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.5254, allocations: 3.938 kB / 1.238 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-05/0.5255, allocations: 24 kB / 1.238 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.5255, allocations: 15.98 kB / 1.238 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.5265, allocations: 0.5383 MB / 1.238 GB, free: 11.11 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.004408/0.531, allocations: 4.587 MB / 1.243 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007585/0.5317, allocations: 417.3 kB / 1.243 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004042/0.5321, allocations: 244.7 kB / 1.243 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003179/0.5325, allocations: 194.2 kB / 1.244 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005279/0.533, allocations: 293.6 kB / 1.244 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.785e-06/0.533, allocations: 0 / 1.244 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001452/0.5345, allocations: 0.6374 MB / 1.245 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.5346, allocations: 85.11 kB / 1.245 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.5361, allocations: 1.11 MB / 1.246 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/0.5362, allocations: 37.7 kB / 1.246 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004129/0.5366, allocations: 492.3 kB / 1.246 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.5367, allocations: 110.5 kB / 1.246 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.5369, allocations: 110 kB / 1.246 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5371, allocations: 333.9 kB / 1.247 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004355/0.5375, allocations: 210.4 kB / 1.247 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006971/0.5382, allocations: 0.5174 MB / 1.247 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009651/0.5392, allocations: 0.6353 MB / 1.248 GB, free: 420 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.5392, allocations: 0 / 1.248 GB, free: 420 kB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.6725/1.212, allocations: 0.7199 MB / 1.249 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.237e-05/1.212, allocations: 34.56 kB / 1.249 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/1.212, allocations: 7.156 kB / 1.249 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.585e-05/1.212, allocations: 8.688 kB / 1.249 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00326/1.215, allocations: 347.3 kB / 1.249 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003862/1.219, allocations: 6.086 MB / 1.255 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/1.221, allocations: 99.27 kB / 1.255 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/1.221, allocations: 27.89 kB / 1.255 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001727/1.223, allocations: 0.4964 MB / 1.256 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001003/1.224, allocations: 488.2 kB / 1.256 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001414/1.225, allocations: 0.554 MB / 1.257 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.218e-05/1.225, allocations: 1.469 kB / 1.257 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.002333/1.227, allocations: 0.6504 MB / 1.257 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.131e-05/1.227, allocations: 39.48 kB / 1.257 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/1.228, allocations: 6.156 kB / 1.257 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/1.228, allocations: 8.094 kB / 1.257 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008937/1.228, allocations: 152.6 kB / 1.258 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/1.228, allocations: 8.578 kB / 1.258 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/1.23, allocations: 83.8 kB / 1.258 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.029e-05/1.23, allocations: 22.8 kB / 1.258 GB, free: 178.5 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.0002952/1.23, allocations: 223.8 kB / 1.258 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003861/1.231, allocations: 105 kB / 1.258 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/1.232, allocations: 494.8 kB / 1.258 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/1.232, allocations: 3.969 kB / 1.258 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/1.232, allocations: 4.812 kB / 1.258 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/1.232, allocations: 5.719 kB / 1.258 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003465/1.236, allocations: 1.375 MB / 1.26 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/1.236, allocations: 1.5 kB / 1.26 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/1.237, allocations: 154.1 kB / 1.26 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/1.237, allocations: 3.375 kB / 1.26 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/1.237, allocations: 12.08 kB / 1.26 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002593/1.24, allocations: 6.023 MB / 1.266 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.24, allocations: 1.906 kB / 1.266 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/1.241, allocations: 0.6105 MB / 1.266 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005378/1.242, allocations: 212 kB / 1.267 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002672/1.242, allocations: 8.562 kB / 1.267 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008971/1.243, allocations: 49.48 kB / 1.267 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/1.243, allocations: 35.5 kB / 1.267 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/1.243, allocations: 13.56 kB / 1.267 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001756/1.245, allocations: 0.7883 MB / 1.268 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/1.245, allocations: 0 / 1.268 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002187/1.247, allocations: 412.3 kB / 1.268 GB, free: 171.4 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.0006118/1.248, allocations: 172 kB / 1.268 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004672/1.252, allocations: 1.09 MB / 1.269 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.252, allocations: 0 / 1.269 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001314/1.254, allocations: 285.6 kB / 1.269 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003646/1.257, allocations: 457.3 kB / 1.27 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004728/1.262, allocations: 2.097 MB / 1.272 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/1.263, allocations: 1.18 MB / 1.273 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002013/1.265, allocations: 385.4 kB / 1.273 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/1.266, allocations: 61.22 kB / 1.273 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of SimCode: time 8.72e-07/1.266, allocations: 0 / 1.273 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.05473/1.32, allocations: 17.34 MB / 1.29 GB, free: 164.5 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)