Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001245/0.001245, allocations: 115.5 kB / 17.08 MB, free: 6.012 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.001152/0.001152, allocations: 196.1 kB / 18.02 MB, free: 5.094 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.369/1.369, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7329/0.7329, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 66.48 kB / 0.5583 GB, free: 32.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.155, allocations: 76.19 MB / 0.6327 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.5953/0.7503, allocations: 161.6 MB / 0.7905 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005182/0.7555, allocations: 3.631 MB / 0.7941 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006402/0.7562, allocations: 11.91 kB / 0.7941 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007149/0.7569, allocations: 160.1 kB / 0.7942 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.7587, allocations: 0.5331 MB / 0.7948 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.7603, allocations: 436.7 kB / 0.7952 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003141/0.7634, allocations: 2.539 MB / 0.7977 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/0.765, allocations: 0.9417 MB / 0.7986 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002235/0.7672, allocations: 1.036 MB / 0.7996 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00135/0.7686, allocations: 0.7059 MB / 0.8003 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002764/0.7689, allocations: 54.66 kB / 0.8003 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/0.771, allocations: 0.7469 MB / 0.8011 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005197/0.7715, allocations: 307.7 kB / 0.8014 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.7727, allocations: 0.5413 MB / 0.8019 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002599/0.7753, allocations: 1.4 MB / 0.8033 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.7753, allocations: 2.094 kB / 0.8033 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7753, allocations: 0 / 0.8033 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.229e-05/0.7754, allocations: 0 / 0.8033 GB, free: 11.54 MB / 0.5919 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.003197/0.7786, allocations: 1.455 MB / 0.8047 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.7787, allocations: 10.44 kB / 0.8047 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008556/0.7795, allocations: 191.5 kB / 0.8049 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.7808, allocations: 0.8459 MB / 0.8057 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.7808, allocations: 49.31 kB / 0.8057 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-05/0.7809, allocations: 57.53 kB / 0.8058 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.7821, allocations: 0.783 MB / 0.8066 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.7821, allocations: 10.5 kB / 0.8066 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.274e-05/0.7822, allocations: 26.33 kB / 0.8066 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.7822, allocations: 15.09 kB / 0.8066 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008064/0.783, allocations: 0.5339 MB / 0.8071 GB, free: 9.512 MB / 0.5919 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.004/0.787, allocations: 4.585 MB / 0.8116 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006669/0.7877, allocations: 419.1 kB / 0.812 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003423/0.788, allocations: 247.9 kB / 0.8122 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002744/0.7883, allocations: 191 kB / 0.8124 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004631/0.7888, allocations: 294.2 kB / 0.8127 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 2.685e-06/0.7888, allocations: 0 / 0.8127 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.003809/0.7926, allocations: 1.315 MB / 0.814 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.7927, allocations: 81.83 kB / 0.8141 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.7941, allocations: 1.118 MB / 0.8152 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.721e-05/0.7942, allocations: 40.3 kB / 0.8152 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003674/0.7946, allocations: 488.5 kB / 0.8157 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.7947, allocations: 111.9 kB / 0.8158 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.7949, allocations: 114.9 kB / 0.8159 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.795, allocations: 327.6 kB / 0.8162 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.7954, allocations: 214.4 kB / 0.8164 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005611/0.7959, allocations: 0.5162 MB / 0.8169 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008023/0.7967, allocations: 0.6298 MB / 0.8175 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.7967, allocations: 6.156 kB / 0.8175 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002332/0.7991, allocations: 1.046 MB / 0.8186 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.135e-05/0.7991, allocations: 33.23 kB / 0.8186 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.7992, allocations: 4.875 kB / 0.8186 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.8005, allocations: 351.8 kB / 0.8189 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.8007, allocations: 61.31 kB / 0.819 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.8017, allocations: 1.014 MB / 0.82 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008711/0.8026, allocations: 77.23 kB / 0.82 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.544e-05/0.8027, allocations: 32.41 kB / 0.8201 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007866/0.8035, allocations: 0.4944 MB / 0.8206 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005209/0.804, allocations: 495.6 kB / 0.821 GB, free: 324 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007323/0.8048, allocations: 0.5547 MB / 0.8216 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.277e-06/0.8048, allocations: 3.938 kB / 0.8216 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001617/0.8064, allocations: 0.834 MB / 0.8224 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/0.8064, allocations: 33.2 kB / 0.8224 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.8065, allocations: 7.469 kB / 0.8224 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004874/0.807, allocations: 205.6 kB / 0.8226 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.8072, allocations: 68.98 kB / 0.8227 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/0.8108, allocations: 3.339 MB / 0.826 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008991/0.8117, allocations: 61.97 kB / 0.826 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/0.8118, allocations: 27.73 kB / 0.826 GB, free: 12.57 MB / 0.6075 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 (34): * Single equations (assignments): 32 * 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.0002703/0.8121, allocations: 223.4 kB / 0.8263 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.8122, allocations: 99 kB / 0.8263 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.8136, allocations: 0.7063 MB / 0.827 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.8136, allocations: 2.719 kB / 0.827 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.8136, allocations: 0 / 0.827 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.8136, allocations: 2.531 kB / 0.827 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.816, allocations: 1.598 MB / 0.8286 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.816, allocations: 7.922 kB / 0.8286 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.8162, allocations: 33.28 kB / 0.8286 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000427/0.8166, allocations: 228.5 kB / 0.8289 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.8166, allocations: 6.75 kB / 0.8289 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008494/0.8175, allocations: 0.977 MB / 0.8298 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.8175, allocations: 2.469 kB / 0.8298 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.8187, allocations: 0.8229 MB / 0.8306 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003215/0.819, allocations: 214 kB / 0.8308 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.8191, allocations: 8.719 kB / 0.8308 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.8195, allocations: 26.38 kB / 0.8309 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.507e-05/0.8196, allocations: 28.53 kB / 0.8309 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.8197, allocations: 13.59 kB / 0.8309 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009667/0.8206, allocations: 0.7985 MB / 0.8317 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8207, allocations: 0 / 0.8317 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00124/0.8219, allocations: 430.7 kB / 0.8321 GB, free: 8.672 MB / 0.6075 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 (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 Backend phase and start with SimCode phase: time 0.0004821/0.8224, allocations: 176.9 kB / 0.8323 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001913/0.8243, allocations: 1.076 MB / 0.8333 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.8243, allocations: 3.094 kB / 0.8333 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004417/0.8248, allocations: 224 kB / 0.8335 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.8267, allocations: 465.2 kB / 0.834 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/0.8296, allocations: 1.803 MB / 0.8357 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006916/0.8303, allocations: 1.177 MB / 0.8369 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.8304, allocations: 67.42 kB / 0.8369 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.8304, allocations: 0 / 0.8369 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of Templates: time 0.02672/0.8572, allocations: 20.43 MB / 0.8569 GB, free: 15.96 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)