Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00745/0.00745, allocations: 102 kB / 15.73 MB, free: 6.043 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.001513/0.001513, allocations: 195 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.511/1.511, allocations: 251.7 MB / 0.5094 GB, free: 3.105 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 71.89 kB / 0.7258 GB, free: 9.176 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1825, allocations: 104.7 MB / 0.8281 GB, free: 368 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.6277/0.8102, allocations: 161.7 MB / 0.986 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.003602/0.8139, allocations: 1.812 MB / 0.9878 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000603/0.8145, allocations: 10.81 kB / 0.9878 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0007206/0.8153, allocations: 155.4 kB / 0.9879 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001827/0.8171, allocations: 0.5257 MB / 0.9884 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.8185, allocations: 397.5 kB / 0.9888 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002881/0.8214, allocations: 2.526 MB / 0.9913 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.8226, allocations: 0.9298 MB / 0.9922 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001893/0.8245, allocations: 1.026 MB / 0.9932 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009695/0.8255, allocations: 0.704 MB / 0.9939 GB, free: 11 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.714e-05/0.8256, allocations: 54.59 kB / 0.9939 GB, free: 11 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.8272, allocations: 0.742 MB / 0.9947 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003404/0.8276, allocations: 305.4 kB / 0.995 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007512/0.8283, allocations: 0.5489 MB / 0.9955 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001944/0.8303, allocations: 1.401 MB / 0.9969 GB, free: 9.234 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.8303, allocations: 3.938 kB / 0.9969 GB, free: 9.23 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.565e-06/0.8303, allocations: 0 / 0.9969 GB, free: 9.23 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.703e-05/0.8304, allocations: 0 / 0.9969 GB, free: 9.23 MB / 0.7481 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.00266/0.833, allocations: 1.441 MB / 0.9983 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.8331, allocations: 10.09 kB / 0.9983 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008074/0.8339, allocations: 182.2 kB / 0.9984 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.8353, allocations: 0.8521 MB / 0.9993 GB, free: 7.41 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.301e-05/0.8353, allocations: 42.12 kB / 0.9993 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.8354, allocations: 62.66 kB / 0.9994 GB, free: 7.375 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.8366, allocations: 0.8042 MB / 1 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.8367, allocations: 2.562 kB / 1 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/0.8367, allocations: 21.12 kB / 1 GB, free: 6.773 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.8367, allocations: 16.84 kB / 1 GB, free: 6.77 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008637/0.8376, allocations: 0.5301 MB / 1.001 GB, free: 6.52 MB / 0.7481 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.003962/0.8416, allocations: 4.592 MB / 1.005 GB, free: 2.207 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007141/0.8423, allocations: 415.9 kB / 1.006 GB, free: 2 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/0.8427, allocations: 256.6 kB / 1.006 GB, free: 1.871 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002877/0.843, allocations: 190.6 kB / 1.006 GB, free: 1.672 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004601/0.8435, allocations: 299.1 kB / 1.006 GB, free: 1.473 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=31): time 1.913e-06/0.8435, allocations: 0 / 1.006 GB, free: 1.473 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31): time 0.001335/0.8448, allocations: 0.6373 MB / 1.007 GB, free: 1.152 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.8449, allocations: 82.36 kB / 1.007 GB, free: 1.059 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.8461, allocations: 1.117 MB / 1.008 GB, free: 472 kB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/0.8462, allocations: 36.73 kB / 1.008 GB, free: 432 kB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003617/0.8465, allocations: 494.6 kB / 1.009 GB, free: 4 kB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.8466, allocations: 105.6 kB / 1.009 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.8468, allocations: 109.2 kB / 1.009 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.8469, allocations: 335.1 kB / 1.009 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.8473, allocations: 207.9 kB / 1.009 GB, free: 15.42 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005746/0.8479, allocations: 0.5246 MB / 1.01 GB, free: 14.92 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008217/0.8487, allocations: 0.6227 MB / 1.01 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.8487, allocations: 6.5 kB / 1.01 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001189/0.8499, allocations: 0.7199 MB / 1.011 GB, free: 14.06 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.85, allocations: 40 kB / 1.011 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.85, allocations: 4.312 kB / 1.011 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.85, allocations: 11.97 kB / 1.011 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004202/0.8504, allocations: 104.9 kB / 1.011 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.8505, allocations: 19.3 kB / 1.011 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006512/0.8511, allocations: 67.41 kB / 1.011 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.076e-05/0.8512, allocations: 27.67 kB / 1.011 GB, free: 13.94 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006815/0.8519, allocations: 0.491 MB / 1.012 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005193/0.8524, allocations: 491 kB / 1.012 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007208/0.8531, allocations: 0.5657 MB / 1.013 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.677e-06/0.8532, allocations: 7.281 kB / 1.013 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.00106/0.8542, allocations: 0.6389 MB / 1.014 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.8543, allocations: 33.55 kB / 1.014 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.8543, allocations: 5.219 kB / 1.014 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.8543, allocations: 10.12 kB / 1.014 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.8546, allocations: 103.2 kB / 1.014 GB, free: 12.33 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.8547, allocations: 15.23 kB / 1.014 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006344/0.8553, allocations: 70.44 kB / 1.014 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/0.8553, allocations: 21.78 kB / 1.014 GB, free: 12.28 MB / 0.7637 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): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001894/0.8555, allocations: 222.9 kB / 1.014 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.8557, allocations: 99.59 kB / 1.014 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008911/0.8566, allocations: 494.2 kB / 1.015 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.8566, allocations: 9.281 kB / 1.015 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.8566, allocations: 0 / 1.015 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.8566, allocations: 0 / 1.015 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001936/0.8585, allocations: 1.387 MB / 1.016 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.8586, allocations: 0 / 1.016 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.8588, allocations: 63.42 kB / 1.016 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.8588, allocations: 6.406 kB / 1.016 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.8589, allocations: 9.688 kB / 1.016 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.8589, allocations: 6.859 kB / 1.016 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.8589, allocations: 7.906 kB / 1.016 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007767/0.8597, allocations: 0.6026 MB / 1.017 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002948/0.86, allocations: 213.7 kB / 1.017 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.8601, allocations: 17.62 kB / 1.017 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/0.8605, allocations: 25.31 kB / 1.017 GB, free: 10.12 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.54e-05/0.8606, allocations: 28.89 kB / 1.017 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.8606, allocations: 14.12 kB / 1.017 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008941/0.8615, allocations: 0.7915 MB / 1.018 GB, free: 9.465 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.322e-06/0.8615, allocations: 0 / 1.018 GB, free: 9.465 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001111/0.8626, allocations: 411.4 kB / 1.018 GB, free: 9.062 MB / 0.7637 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): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003864/0.863, allocations: 179.5 kB / 1.018 GB, free: 8.887 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001354/0.8644, allocations: 0.8141 MB / 1.019 GB, free: 8.051 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.8644, allocations: 1.5 kB / 1.019 GB, free: 8.051 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003595/0.8648, allocations: 200.2 kB / 1.019 GB, free: 7.855 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/0.8667, allocations: 454.3 kB / 1.02 GB, free: 7.414 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.8692, allocations: 1.725 MB / 1.021 GB, free: 5.633 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006718/0.8699, allocations: 1.176 MB / 1.023 GB, free: 4.426 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009658/0.8709, allocations: 415.6 kB / 1.023 GB, free: 4.016 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.871, allocations: 71.44 kB / 1.023 GB, free: 3.945 MB / 0.7637 GB Notification: Performance of SimCode: time 2.194e-06/0.871, allocations: 0 / 1.023 GB, free: 3.945 MB / 0.7637 GB Notification: Performance of Templates: time 0.03222/0.9033, allocations: 17.19 MB / 1.04 GB, free: 2.992 MB / 0.7794 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)