Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001192, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.00934/0.00934, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.423/1.423, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.873/2.873, allocations: 473.4 MB / 0.7469 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003604, allocations: 15.91 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3347, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.1787/0.5135, allocations: 163.4 MB / 1.234 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003759/0.5173, allocations: 2.197 MB / 1.236 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002972/0.5176, allocations: 15.88 kB / 1.236 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000648/0.5182, allocations: 198.9 kB / 1.236 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.5198, allocations: 0.6341 MB / 1.237 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.5208, allocations: 393.8 kB / 1.237 GB, free: 116 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003656/0.5245, allocations: 3.795 MB / 1.241 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002788/0.5273, allocations: 2.356 MB / 1.243 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002099/0.5294, allocations: 1.121 MB / 1.244 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.5305, allocations: 0.8558 MB / 1.245 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-05/0.5306, allocations: 48 kB / 1.245 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.5322, allocations: 0.8925 MB / 1.246 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003254/0.5326, allocations: 338.7 kB / 1.246 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006505/0.5332, allocations: 0.5962 MB / 1.247 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.5348, allocations: 1.581 MB / 1.248 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.5348, allocations: 0 / 1.248 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5349, allocations: 3.938 kB / 1.248 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.5349, allocations: 0 / 1.248 GB, free: 4.477 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002541/0.5374, allocations: 1.475 MB / 1.25 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.5375, allocations: 11.97 kB / 1.25 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007872/0.5383, allocations: 198.4 kB / 1.25 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.5395, allocations: 0.8811 MB / 1.251 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.037e-05/0.5396, allocations: 45.31 kB / 1.251 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.5397, allocations: 67.94 kB / 1.251 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.5411, allocations: 0.9948 MB / 1.252 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.5411, allocations: 3.938 kB / 1.252 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.72e-05/0.5412, allocations: 24 kB / 1.252 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.5412, allocations: 16 kB / 1.252 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6269/1.168, allocations: 0.8048 MB / 1.253 GB, free: 183.8 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.005389/1.174, allocations: 4.798 MB / 1.257 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/1.176, allocations: 4.017 MB / 1.261 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005447/1.176, allocations: 352.3 kB / 1.262 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002847/1.176, allocations: 199.7 kB / 1.262 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005808/1.177, allocations: 326.9 kB / 1.262 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000467/1.178, allocations: 38.14 kB / 1.262 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 2.355e-06/1.178, allocations: 2.344 kB / 1.262 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.004887/1.182, allocations: 1.605 MB / 1.264 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/1.182, allocations: 89.66 kB / 1.264 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/1.184, allocations: 1.182 MB / 1.265 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.499e-05/1.184, allocations: 39.08 kB / 1.265 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004253/1.185, allocations: 0.512 MB / 1.266 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.712e-05/1.185, allocations: 122.2 kB / 1.266 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.567e-05/1.185, allocations: 50.5 kB / 1.266 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.463e-05/1.185, allocations: 328.3 kB / 1.266 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004022/1.185, allocations: 236.8 kB / 1.266 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006583/1.186, allocations: 0.5629 MB / 1.267 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009879/1.187, allocations: 0.7008 MB / 1.268 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/1.187, allocations: 3.375 kB / 1.268 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00228/1.189, allocations: 1.112 MB / 1.269 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/1.189, allocations: 281.3 kB / 1.269 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.189, allocations: 5.25 kB / 1.269 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/1.191, allocations: 351.2 kB / 1.269 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/1.191, allocations: 104.7 kB / 1.269 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008935/1.192, allocations: 1.006 MB / 1.27 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/1.193, allocations: 95.88 kB / 1.27 GB, free: 173 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/1.193, allocations: 28.22 kB / 1.27 GB, free: 173 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.345e-06/1.193, allocations: 4.906 kB / 1.27 GB, free: 173 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001319/1.194, allocations: 0.7825 MB / 1.271 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/1.194, allocations: 5.344 kB / 1.271 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004933/1.195, allocations: 224.2 kB / 1.271 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003679/1.195, allocations: 106.2 kB / 1.272 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003202/1.199, allocations: 2.92 MB / 1.274 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/1.2, allocations: 91.25 kB / 1.274 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/1.2, allocations: 21.77 kB / 1.274 GB, free: 170.8 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.000855/1.201, allocations: 484.9 kB / 1.275 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/1.201, allocations: 104.4 kB / 1.275 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/1.202, allocations: 0.798 MB / 1.276 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/1.202, allocations: 10.94 kB / 1.276 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.202, allocations: 0.75 kB / 1.276 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/1.202, allocations: 1.594 kB / 1.276 GB, free: 170.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 postOpt removeSimpleEquations (simulation): time 0.003124/1.206, allocations: 2.131 MB / 1.278 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/1.206, allocations: 1.438 kB / 1.278 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003548/1.206, allocations: 81.39 kB / 1.278 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004382/1.206, allocations: 176.1 kB / 1.278 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/1.206, allocations: 10.22 kB / 1.278 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007634/1.207, allocations: 0.8522 MB / 1.279 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.207, allocations: 11.14 kB / 1.279 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/1.209, allocations: 0.856 MB / 1.28 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/1.209, allocations: 236.2 kB / 1.28 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/1.209, allocations: 8.953 kB / 1.28 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006753/1.21, allocations: 79.59 kB / 1.28 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/1.21, allocations: 32.09 kB / 1.28 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/1.21, allocations: 11.34 kB / 1.28 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001248/1.211, allocations: 0.8338 MB / 1.281 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.211, allocations: 5.438 kB / 1.281 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001818/1.213, allocations: 0.5032 MB / 1.281 GB, free: 167.2 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005203/1.213, allocations: 186.6 kB / 1.282 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00237/1.216, allocations: 1.159 MB / 1.283 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.216, allocations: 0 / 1.283 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005147/1.216, allocations: 250.5 kB / 1.283 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00372/1.22, allocations: 0.6509 MB / 1.284 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/1.223, allocations: 2.205 MB / 1.286 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006913/1.224, allocations: 1.215 MB / 1.287 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001197/1.225, allocations: 380.7 kB / 1.287 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/1.225, allocations: 69.25 kB / 1.287 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.683e-06/1.225, allocations: 0 / 1.287 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.03394/1.259, allocations: 21.37 MB / 1.308 GB, free: 153.8 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)