Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001337/0.001337, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.531/1.531, allocations: 252 MB / 0.5102 GB, free: 4.715 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.0005749/0.000575, allocations: 15.44 kB / 0.6243 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5549/0.5555, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1773/0.7329, allocations: 146.9 MB / 0.8716 GB, free: 8.109 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005036/0.7379, allocations: 3.41 MB / 0.8749 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004431/0.7384, allocations: 11.88 kB / 0.8749 GB, free: 4.676 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005156/0.739, allocations: 115.2 kB / 0.875 GB, free: 4.562 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.7402, allocations: 390.1 kB / 0.8754 GB, free: 4.18 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.7414, allocations: 372.7 kB / 0.8757 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003048/0.7444, allocations: 2.997 MB / 0.8787 GB, free: 0.8164 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.7455, allocations: 0.6934 MB / 0.8793 GB, free: 124 kB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.7471, allocations: 0.8676 MB / 0.8802 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008761/0.748, allocations: 0.7079 MB / 0.8809 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 9.369e-05/0.7481, allocations: 43.94 kB / 0.8809 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.7493, allocations: 0.5535 MB / 0.8815 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002702/0.7496, allocations: 274.9 kB / 0.8817 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002668/0.7498, allocations: 233.1 kB / 0.8819 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.7509, allocations: 1.025 MB / 0.8829 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7509, allocations: 0 / 0.8829 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7509, allocations: 0 / 0.8829 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.751, allocations: 0 / 0.8829 GB, free: 12.41 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002127/0.7531, allocations: 1.299 MB / 0.8842 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.7531, allocations: 12.03 kB / 0.8842 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007108/0.7539, allocations: 186.5 kB / 0.8844 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.7552, allocations: 0.7962 MB / 0.8852 GB, free: 10 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.055e-05/0.7553, allocations: 45 kB / 0.8852 GB, free: 9.957 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.7554, allocations: 60 kB / 0.8853 GB, free: 9.898 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.7566, allocations: 0.7965 MB / 0.8861 GB, free: 9.023 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.7566, allocations: 7.938 kB / 0.8861 GB, free: 9.016 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.111e-05/0.7567, allocations: 20 kB / 0.8861 GB, free: 8.996 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.7567, allocations: 20 kB / 0.8861 GB, free: 8.977 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009374/0.7576, allocations: 0.5344 MB / 0.8866 GB, free: 8.441 MB / 0.7012 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.004341/0.762, allocations: 4.61 MB / 0.8911 GB, free: 3.449 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007306/0.7627, allocations: 436.9 kB / 0.8915 GB, free: 3.016 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004168/0.7632, allocations: 248.7 kB / 0.8918 GB, free: 2.77 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002877/0.7635, allocations: 194.1 kB / 0.892 GB, free: 2.543 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005339/0.764, allocations: 305.6 kB / 0.8923 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=31): time 3.015e-06/0.764, allocations: 0 / 0.8923 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of matching and sorting (n=31): time 0.003817/0.7679, allocations: 1.343 MB / 0.8936 GB, free: 0.8555 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.7679, allocations: 81.11 kB / 0.8936 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.7694, allocations: 1.118 MB / 0.8947 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.338e-05/0.7694, allocations: 37.92 kB / 0.8948 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000405/0.7699, allocations: 0.4922 MB / 0.8953 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.994e-05/0.77, allocations: 110.5 kB / 0.8954 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.77, allocations: 12 kB / 0.8954 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.7701, allocations: 322 kB / 0.8957 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/0.7705, allocations: 184.7 kB / 0.8959 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006415/0.7711, allocations: 0.4979 MB / 0.8963 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000444/0.7716, allocations: 293.7 kB / 0.8966 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.7716, allocations: 4 kB / 0.8966 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002063/0.7737, allocations: 0.9897 MB / 0.8976 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001708/0.7738, allocations: 275 kB / 0.8979 GB, free: 12.17 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.7739, allocations: 4 kB / 0.8979 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/0.7752, allocations: 336.4 kB / 0.8982 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.7754, allocations: 63.84 kB / 0.8982 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.7765, allocations: 1.012 MB / 0.8992 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007406/0.7772, allocations: 103.5 kB / 0.8993 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/0.7773, allocations: 20 kB / 0.8993 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.064e-06/0.7773, allocations: 7.938 kB / 0.8994 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001301/0.7786, allocations: 0.7403 MB / 0.9001 GB, free: 9.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.7786, allocations: 4 kB / 0.9001 GB, free: 9.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004938/0.7792, allocations: 212.7 kB / 0.9003 GB, free: 9.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.7794, allocations: 67.95 kB / 0.9004 GB, free: 9.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003743/0.7831, allocations: 3.111 MB / 0.9034 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008805/0.784, allocations: 95.53 kB / 0.9035 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.7841, allocations: 24 kB / 0.9035 GB, free: 6.184 MB / 0.7169 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007112/0.7848, allocations: 480.7 kB / 0.904 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.7849, allocations: 94.78 kB / 0.9041 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.7863, allocations: 0.7179 MB / 0.9048 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.7863, allocations: 4 kB / 0.9048 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.7863, allocations: 0 / 0.9048 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.7864, allocations: 0 / 0.9048 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/0.7889, allocations: 1.637 MB / 0.9064 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.7889, allocations: 0 / 0.9064 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.789, allocations: 23.98 kB / 0.9064 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004512/0.7895, allocations: 220.6 kB / 0.9066 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.7895, allocations: 12 kB / 0.9066 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009597/0.7905, allocations: 0.9777 MB / 0.9076 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7905, allocations: 3.938 kB / 0.9076 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.7918, allocations: 0.837 MB / 0.9084 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004473/0.7922, allocations: 219.8 kB / 0.9086 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.7924, allocations: 8 kB / 0.9086 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004843/0.7928, allocations: 59.84 kB / 0.9086 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.793, allocations: 35.89 kB / 0.9087 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.793, allocations: 12 kB / 0.9087 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.3963/1.189, allocations: 0.7851 MB / 0.9095 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.72e-07/1.189, allocations: 0 / 0.9095 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001769/1.191, allocations: 453 kB / 0.9099 GB, free: 180.6 MB / 0.7169 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004159/1.192, allocations: 166.4 kB / 0.9101 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001993/1.194, allocations: 1.058 MB / 0.9111 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/1.194, allocations: 0.875 kB / 0.9111 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005349/1.194, allocations: 245.8 kB / 0.9113 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/1.196, allocations: 458.4 kB / 0.9118 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003512/1.2, allocations: 1.973 MB / 0.9137 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000752/1.201, allocations: 1.182 MB / 0.9148 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001088/1.202, allocations: 322.9 kB / 0.9151 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/1.202, allocations: 59.19 kB / 0.9152 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of SimCode: time 8.32e-07/1.202, allocations: 3.531 kB / 0.9152 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.02977/1.232, allocations: 18.39 MB / 0.9332 GB, free: 167.4 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) Environment - environmentSimulation: