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.007862/0.007862, allocations: 101.8 kB / 15.73 MB, free: 6.047 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.001991/0.001991, allocations: 182.7 kB / 16.67 MB, free: 5.977 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.434/1.434, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.679/1.679, allocations: 251.7 MB / 0.5094 GB, free: 2.992 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.002672/0.002672, allocations: 71.91 kB / 0.7258 GB, free: 9.039 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2911, allocations: 104.7 MB / 0.8281 GB, free: 228 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.6162/0.9074, allocations: 161.7 MB / 0.986 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.003003/0.9104, allocations: 1.808 MB / 0.9878 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.9107, allocations: 10.5 kB / 0.9878 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0005272/0.9112, allocations: 164.5 kB / 0.9879 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.9125, allocations: 0.5457 MB / 0.9885 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009678/0.9135, allocations: 399.9 kB / 0.9888 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002371/0.9158, allocations: 2.533 MB / 0.9913 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.9169, allocations: 0.9198 MB / 0.9922 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.9183, allocations: 1.043 MB / 0.9932 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000716/0.919, allocations: 0.7082 MB / 0.9939 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.082e-05/0.9191, allocations: 59.44 kB / 0.994 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.9204, allocations: 0.7431 MB / 0.9947 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002926/0.9207, allocations: 309.3 kB / 0.995 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007606/0.9215, allocations: 0.541 MB / 0.9955 GB, free: 9.988 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.923, allocations: 1.404 MB / 0.9969 GB, free: 9.156 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.923, allocations: 0 / 0.9969 GB, free: 9.156 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.473e-06/0.923, allocations: 0 / 0.9969 GB, free: 9.156 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.51e-05/0.9231, allocations: 0 / 0.9969 GB, free: 9.156 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.002106/0.9252, allocations: 1.443 MB / 0.9983 GB, free: 8.047 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.9252, allocations: 7.625 kB / 0.9983 GB, free: 8.047 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007289/0.9259, allocations: 192.1 kB / 0.9985 GB, free: 7.953 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.9271, allocations: 0.8497 MB / 0.9993 GB, free: 7.328 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.137e-05/0.9272, allocations: 47.78 kB / 0.9994 GB, free: 7.309 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.468e-05/0.9273, allocations: 58.31 kB / 0.9994 GB, free: 7.293 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.9284, allocations: 0.7965 MB / 1 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.9284, allocations: 3.25 kB / 1 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.006e-05/0.9285, allocations: 20.88 kB / 1 GB, free: 6.699 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.9285, allocations: 18.83 kB / 1 GB, free: 6.695 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008466/0.9294, allocations: 0.5347 MB / 1.001 GB, free: 6.441 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.004344/0.9337, allocations: 4.589 MB / 1.005 GB, free: 2.129 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006611/0.9344, allocations: 413.4 kB / 1.006 GB, free: 1.926 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003439/0.9348, allocations: 254.4 kB / 1.006 GB, free: 1.797 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002788/0.935, allocations: 195.3 kB / 1.006 GB, free: 1.594 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004535/0.9355, allocations: 295.1 kB / 1.006 GB, free: 1.398 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/0.9355, allocations: 0 / 1.006 GB, free: 1.398 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31): time 0.001286/0.9368, allocations: 0.6354 MB / 1.007 GB, free: 1.078 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.9369, allocations: 85.94 kB / 1.007 GB, free: 0.9805 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.9381, allocations: 1.114 MB / 1.008 GB, free: 396 kB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.9382, allocations: 35.45 kB / 1.008 GB, free: 360 kB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003697/0.9385, allocations: 490.9 kB / 1.009 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 8.213e-05/0.9386, allocations: 113.5 kB / 1.009 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.9388, allocations: 106.7 kB / 1.009 GB, free: 15.78 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.9389, allocations: 334.8 kB / 1.009 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.9393, allocations: 214 kB / 1.009 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006309/0.9399, allocations: 0.5238 MB / 1.01 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009727/0.9409, allocations: 0.6191 MB / 1.01 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.9409, allocations: 2.75 kB / 1.011 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001097/0.942, allocations: 0.7211 MB / 1.011 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.339e-05/0.9421, allocations: 42.23 kB / 1.011 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.9421, allocations: 4.719 kB / 1.011 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.9421, allocations: 15.8 kB / 1.011 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.9425, allocations: 103.3 kB / 1.011 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.9425, allocations: 11.75 kB / 1.011 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005849/0.9431, allocations: 79.97 kB / 1.011 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.9432, allocations: 28.11 kB / 1.011 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006691/0.9439, allocations: 0.4984 MB / 1.012 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005899/0.9445, allocations: 490.6 kB / 1.012 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006954/0.9452, allocations: 0.5542 MB / 1.013 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.636e-06/0.9452, allocations: 3 kB / 1.013 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009755/0.9462, allocations: 0.6465 MB / 1.014 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.9462, allocations: 36.08 kB / 1.014 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.9462, allocations: 4.781 kB / 1.014 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.433e-06/0.9462, allocations: 12.06 kB / 1.014 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.9466, allocations: 102.8 kB / 1.014 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.9466, allocations: 11.75 kB / 1.014 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005345/0.9471, allocations: 73.08 kB / 1.014 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.9472, allocations: 21.28 kB / 1.014 GB, free: 12.2 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.0001749/0.9473, allocations: 220.1 kB / 1.014 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.9474, allocations: 102.6 kB / 1.014 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008782/0.9483, allocations: 498 kB / 1.015 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.9483, allocations: 4.938 kB / 1.015 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.9484, allocations: 0 / 1.015 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.9484, allocations: 0 / 1.015 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.9502, allocations: 1.383 MB / 1.016 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.9502, allocations: 2.469 kB / 1.016 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.9505, allocations: 65.48 kB / 1.016 GB, free: 10.67 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.9505, allocations: 16.16 kB / 1.016 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.9505, allocations: 6.062 kB / 1.016 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.9505, allocations: 2.188 kB / 1.016 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9505, allocations: 2.594 kB / 1.016 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008564/0.9514, allocations: 0.6001 MB / 1.017 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.9517, allocations: 216.6 kB / 1.017 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.9518, allocations: 10.16 kB / 1.017 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/0.9522, allocations: 22.41 kB / 1.017 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.465e-05/0.9523, allocations: 38.48 kB / 1.017 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.9523, allocations: 7.969 kB / 1.017 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001067/0.9534, allocations: 0.7974 MB / 1.018 GB, free: 9.344 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9534, allocations: 0 / 1.018 GB, free: 9.344 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001217/0.9546, allocations: 403.4 kB / 1.018 GB, free: 8.949 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.0004727/0.9551, allocations: 188.8 kB / 1.018 GB, free: 8.77 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001384/0.9565, allocations: 0.8191 MB / 1.019 GB, free: 7.93 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.9565, allocations: 0 / 1.019 GB, free: 7.93 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004187/0.9569, allocations: 202.6 kB / 1.019 GB, free: 7.734 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.9589, allocations: 447 kB / 1.02 GB, free: 7.301 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.9619, allocations: 1.732 MB / 1.021 GB, free: 5.512 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009452/0.9629, allocations: 1.18 MB / 1.023 GB, free: 4.301 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001104/0.964, allocations: 403.7 kB / 1.023 GB, free: 3.902 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.9643, allocations: 79.36 kB / 1.023 GB, free: 3.824 MB / 0.7637 GB Notification: Performance of SimCode: time 6.21e-07/0.9643, allocations: 4 kB / 1.023 GB, free: 3.82 MB / 0.7637 GB Notification: Performance of Templates: time 0.02934/0.9936, allocations: 17.18 MB / 1.04 GB, free: 2.875 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)