Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 116.3 kB / 17.09 MB, free: 5.992 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.001194/0.001194, allocations: 192.7 kB / 18.02 MB, free: 5.07 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.325/1.325, 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.7046/0.7046, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 66.72 kB / 0.5583 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1498, allocations: 76.18 MB / 0.6327 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.5754/0.7253, allocations: 161.6 MB / 0.7905 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00297/0.7283, allocations: 1.763 MB / 0.7922 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000356/0.7287, allocations: 15.88 kB / 0.7923 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005888/0.7293, allocations: 162.3 kB / 0.7924 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.7307, allocations: 0.5229 MB / 0.7929 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.7318, allocations: 396.6 kB / 0.7933 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002851/0.7347, allocations: 2.529 MB / 0.7958 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.736, allocations: 0.9222 MB / 0.7967 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001995/0.738, allocations: 1.033 MB / 0.7977 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009735/0.739, allocations: 0.7106 MB / 0.7984 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.7391, allocations: 56.56 kB / 0.7984 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.7408, allocations: 0.7405 MB / 0.7992 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003548/0.7411, allocations: 310.7 kB / 0.7995 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007325/0.7419, allocations: 0.5364 MB / 0.8 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001923/0.7438, allocations: 1.408 MB / 0.8014 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.7438, allocations: 2.469 kB / 0.8014 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7438, allocations: 0 / 0.8014 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.053e-05/0.7438, allocations: 0 / 0.8014 GB, free: 11.7 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002431/0.7463, allocations: 1.443 MB / 0.8028 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.7463, allocations: 9.531 kB / 0.8028 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007533/0.7471, allocations: 182.4 kB / 0.8029 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.7484, allocations: 0.8626 MB / 0.8038 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.7484, allocations: 43.78 kB / 0.8038 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-05/0.7485, allocations: 60.03 kB / 0.8039 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.7497, allocations: 0.79 MB / 0.8047 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.7497, allocations: 6.719 kB / 0.8047 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-05/0.7498, allocations: 22.72 kB / 0.8047 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.7498, allocations: 14.62 kB / 0.8047 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008284/0.7507, allocations: 0.531 MB / 0.8052 GB, free: 9.879 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.004113/0.7548, allocations: 4.59 MB / 0.8097 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006473/0.7554, allocations: 411.1 kB / 0.8101 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.7558, allocations: 254.8 kB / 0.8103 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/0.7561, allocations: 191.5 kB / 0.8105 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004696/0.7566, allocations: 297 kB / 0.8108 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.603e-06/0.7566, allocations: 0 / 0.8108 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001267/0.7579, allocations: 0.6248 MB / 0.8114 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.7579, allocations: 90.25 kB / 0.8115 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.7592, allocations: 1.118 MB / 0.8126 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.361e-05/0.7592, allocations: 40.11 kB / 0.8126 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003708/0.7596, allocations: 491.7 kB / 0.8131 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.886e-05/0.7597, allocations: 107.8 kB / 0.8132 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.7599, allocations: 109.4 kB / 0.8133 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.76, allocations: 328.3 kB / 0.8136 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.7603, allocations: 214.8 kB / 0.8138 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000564/0.7609, allocations: 0.5293 MB / 0.8143 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008026/0.7617, allocations: 0.6378 MB / 0.815 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.7617, allocations: 2.688 kB / 0.815 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001116/0.7629, allocations: 0.7155 MB / 0.8157 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.282e-05/0.7629, allocations: 35.98 kB / 0.8157 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.7629, allocations: 4.906 kB / 0.8157 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.763, allocations: 12.23 kB / 0.8157 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/0.7647, allocations: 350.7 kB / 0.8161 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/0.7683, allocations: 6.08 MB / 0.822 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000916/0.7693, allocations: 68.39 kB / 0.8221 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.008e-05/0.7693, allocations: 24.03 kB / 0.8221 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007806/0.7701, allocations: 0.4994 MB / 0.8226 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005123/0.7707, allocations: 490.1 kB / 0.823 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007125/0.7714, allocations: 0.5611 MB / 0.8236 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.418e-06/0.7714, allocations: 1.781 kB / 0.8236 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001098/0.7725, allocations: 0.655 MB / 0.8242 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.7725, allocations: 34.86 kB / 0.8243 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.7726, allocations: 5.188 kB / 0.8243 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.7726, allocations: 8.156 kB / 0.8243 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005261/0.7731, allocations: 158.2 kB / 0.8244 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.7731, allocations: 7.125 kB / 0.8244 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006206/0.7737, allocations: 70.88 kB / 0.8245 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/0.7738, allocations: 28.89 kB / 0.8245 GB, free: 11.4 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 (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002215/0.774, allocations: 223.6 kB / 0.8247 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.7742, allocations: 98.81 kB / 0.8248 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008891/0.775, allocations: 494.9 kB / 0.8253 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.7751, allocations: 5.812 kB / 0.8253 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.7751, allocations: 0 / 0.8253 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7751, allocations: 4 kB / 0.8253 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.777, allocations: 1.383 MB / 0.8267 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.7771, allocations: 0 / 0.8267 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005777/0.7776, allocations: 153.5 kB / 0.8268 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.7777, allocations: 7.078 kB / 0.8268 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.7777, allocations: 8.812 kB / 0.8268 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003115/0.7808, allocations: 6.022 MB / 0.8327 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.7808, allocations: 2.781 kB / 0.8327 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008779/0.7817, allocations: 0.6042 MB / 0.8333 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003345/0.7821, allocations: 212 kB / 0.8335 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.7822, allocations: 6.719 kB / 0.8335 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.7826, allocations: 21.56 kB / 0.8335 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.426e-05/0.7826, allocations: 39.41 kB / 0.8336 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.7827, allocations: 7.188 kB / 0.8336 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001005/0.7837, allocations: 0.7926 MB / 0.8343 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7837, allocations: 4 kB / 0.8343 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00114/0.7848, allocations: 402.2 kB / 0.8347 GB, free: 2.676 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 (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004056/0.7853, allocations: 177.1 kB / 0.8349 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002984/0.7882, allocations: 1.09 MB / 0.836 GB, free: 2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7883, allocations: 0 / 0.836 GB, free: 2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007293/0.789, allocations: 292 kB / 0.8362 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/0.7909, allocations: 447.6 kB / 0.8367 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.7938, allocations: 1.845 MB / 0.8385 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006915/0.7945, allocations: 1.172 MB / 0.8396 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.7947, allocations: 75.45 kB / 0.8397 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of SimCode: time 6.31e-07/0.7947, allocations: 1.781 kB / 0.8397 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of Templates: time 0.06477/0.8594, allocations: 64.49 MB / 0.9027 GB, free: 15.92 MB / 0.6856 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)