Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7164/0.7164, allocations: 128.7 MB / 144.5 MB, free: 1.398 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001184/0.001183, allocations: 182.3 kB / 174.2 MB, free: 5.941 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205 MB / 408.9 MB, free: 9.734 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 111.6 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 55.53 kB / 0.558 GB, free: 97.58 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1278, allocations: 75.47 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4348/0.5626, allocations: 168.8 MB / 0.7965 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002627/0.5653, allocations: 1.817 MB / 0.7983 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.5655, allocations: 14.12 kB / 0.7983 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004991/0.566, allocations: 133 kB / 0.7984 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.5672, allocations: 0.4939 MB / 0.7989 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007482/0.5679, allocations: 315.2 kB / 0.7992 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.003001/0.5709, allocations: 3.55 MB / 0.8027 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.572, allocations: 0.7582 MB / 0.8034 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.5736, allocations: 0.9326 MB / 0.8043 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009837/0.5746, allocations: 0.7335 MB / 0.8051 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.089e-05/0.5747, allocations: 37.59 kB / 0.8051 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.5761, allocations: 0.8038 MB / 0.8059 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.5764, allocations: 291.1 kB / 0.8062 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0005077/0.5769, allocations: 0.5101 MB / 0.8067 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.5782, allocations: 1.412 MB / 0.808 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5782, allocations: 0 / 0.808 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.02e-07/0.5782, allocations: 0 / 0.808 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.5782, allocations: 0 / 0.808 GB, free: 9.434 MB / 0.5261 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.002201/0.5804, allocations: 1.442 MB / 0.8094 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.5805, allocations: 10.28 kB / 0.8095 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000684/0.5811, allocations: 184.5 kB / 0.8096 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.5824, allocations: 0.8154 MB / 0.8104 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/0.5824, allocations: 47.62 kB / 0.8105 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-05/0.5825, allocations: 57.47 kB / 0.8105 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003381/0.5859, allocations: 1.228 MB / 0.8117 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.5859, allocations: 0 / 0.8117 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.96e-05/0.586, allocations: 21 kB / 0.8117 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.586, allocations: 12.88 kB / 0.8118 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003098/0.5891, allocations: 0.9933 MB / 0.8127 GB, free: 7.023 MB / 0.5261 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.003726/0.5929, allocations: 4.419 MB / 0.817 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002922/0.5958, allocations: 0.898 MB / 0.8179 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003447/0.5962, allocations: 247.4 kB / 0.8182 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002822/0.5964, allocations: 196.1 kB / 0.8183 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00272/0.5992, allocations: 0.7391 MB / 0.8191 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 2.033e-06/0.5992, allocations: 0 / 0.8191 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.005834/0.605, allocations: 1.519 MB / 0.8205 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.6051, allocations: 82.64 kB / 0.8206 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.6063, allocations: 1.111 MB / 0.8217 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/0.6064, allocations: 37.98 kB / 0.8217 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/0.6067, allocations: 0.499 MB / 0.8222 GB, free: 1.141 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.295e-05/0.6068, allocations: 104.2 kB / 0.8223 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.607, allocations: 115 kB / 0.8224 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.6071, allocations: 329.7 kB / 0.8228 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006893/0.6078, allocations: 352.1 kB / 0.8231 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008886/0.6087, allocations: 0.6394 MB / 0.8237 GB, free: 168 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.6103, allocations: 0.8514 MB / 0.8246 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.6103, allocations: 2.875 kB / 0.8246 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.002067/0.6124, allocations: 0.9662 MB / 0.8255 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.515e-05/0.6124, allocations: 36.55 kB / 0.8255 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.6124, allocations: 8.906 kB / 0.8255 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.6125, allocations: 7.75 kB / 0.8255 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008516/0.6133, allocations: 182.7 kB / 0.8257 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.6133, allocations: 12.84 kB / 0.8257 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.6145, allocations: 167.1 kB / 0.8259 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.465e-05/0.6146, allocations: 25.7 kB / 0.8259 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006682/0.6153, allocations: 0.4999 MB / 0.8264 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004689/0.6157, allocations: 483.8 kB / 0.8269 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006399/0.6164, allocations: 0.5459 MB / 0.8274 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.036e-06/0.6164, allocations: 2.094 kB / 0.8274 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009276/0.6173, allocations: 0.6445 MB / 0.828 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.6174, allocations: 35.67 kB / 0.8281 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.6174, allocations: 5.375 kB / 0.8281 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.512e-06/0.6174, allocations: 11.69 kB / 0.8281 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.6177, allocations: 101.2 kB / 0.8282 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/0.6178, allocations: 11.38 kB / 0.8282 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000602/0.6184, allocations: 85.66 kB / 0.8283 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.6184, allocations: 21.34 kB / 0.8283 GB, free: 14 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (52): * Single equations (assignments): 51 * 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.0001827/0.6186, allocations: 214.4 kB / 0.8285 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.6187, allocations: 101.9 kB / 0.8286 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.6189, allocations: 119.1 kB / 0.8287 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.619, allocations: 2.625 kB / 0.8287 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.619, allocations: 3.938 kB / 0.8287 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.619, allocations: 5.984 kB / 0.8287 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003022/0.622, allocations: 1.822 MB / 0.8305 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.622, allocations: 4.656 kB / 0.8305 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007174/0.6228, allocations: 130.5 kB / 0.8306 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.6228, allocations: 2.812 kB / 0.8306 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.6228, allocations: 12.77 kB / 0.8306 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.6228, allocations: 10.53 kB / 0.8307 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.6228, allocations: 6.703 kB / 0.8307 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/0.6256, allocations: 2.079 MB / 0.8327 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.6259, allocations: 165.1 kB / 0.8328 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.626, allocations: 9.094 kB / 0.8329 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008499/0.6268, allocations: 117.4 kB / 0.833 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.627, allocations: 35.84 kB / 0.833 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/0.627, allocations: 15.98 kB / 0.833 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009364/0.628, allocations: 0.7875 MB / 0.8338 GB, free: 9.977 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.628, allocations: 4 kB / 0.8338 GB, free: 9.973 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00127/0.6293, allocations: 415.4 kB / 0.8342 GB, free: 9.566 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (30): * Single equations (assignments): 28 * 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.0003679/0.6296, allocations: 172.1 kB / 0.8344 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002062/0.6317, allocations: 1.105 MB / 0.8354 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6317, allocations: 0 / 0.8354 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007451/0.6325, allocations: 362.6 kB / 0.8358 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001931/0.6344, allocations: 454.7 kB / 0.8362 GB, free: 7.477 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/0.6379, allocations: 2.442 MB / 0.8386 GB, free: 4.973 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00071/0.6386, allocations: 1.192 MB / 0.8398 GB, free: 3.75 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001269/0.6399, allocations: 425.4 kB / 0.8402 GB, free: 3.332 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/0.6402, allocations: 79.41 kB / 0.8402 GB, free: 3.254 MB / 0.5417 GB Notification: Performance of SimCode: time 5.21e-07/0.6402, allocations: 0 / 0.8402 GB, free: 3.254 MB / 0.5417 GB Notification: Performance of Templates: time 0.02937/0.6696, allocations: 19.8 MB / 0.8596 GB, free: 15.66 MB / 0.573 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)