Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007817/0.0007817, allocations: 93.03 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008907/0.0008905, allocations: 183.6 kB / 16.92 MB, free: 6.914 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.302/1.302, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6735/0.6735, allocations: 115.5 MB / 407.6 MB, free: 2.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004367/0.0004368, allocations: 8 kB / 495.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.144, allocations: 77.53 MB / 0.56 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.4327/0.5767, allocations: 157.3 MB / 0.7135 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004538/0.5813, allocations: 3.584 MB / 0.717 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000321/0.5817, allocations: 15.88 kB / 0.7171 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004743/0.5821, allocations: 127.2 kB / 0.7172 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001181/0.5833, allocations: 0.5064 MB / 0.7177 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.5843, allocations: 388.5 kB / 0.718 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003117/0.5875, allocations: 3.49 MB / 0.7215 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009137/0.5884, allocations: 0.7562 MB / 0.7222 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.5899, allocations: 0.9025 MB / 0.7231 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007967/0.5907, allocations: 0.7233 MB / 0.7238 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.3e-05/0.5908, allocations: 32 kB / 0.7238 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.5922, allocations: 0.799 MB / 0.7246 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002801/0.5925, allocations: 274.9 kB / 0.7249 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000567/0.5931, allocations: 0.53 MB / 0.7254 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.5945, allocations: 1.37 MB / 0.7267 GB, free: 12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5945, allocations: 0 / 0.7267 GB, free: 12 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.005e-06/0.5945, allocations: 0 / 0.7267 GB, free: 12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.5945, allocations: 7.938 kB / 0.7267 GB, free: 11.99 MB / 0.545 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.001879/0.5964, allocations: 1.261 MB / 0.7279 GB, free: 10.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.5965, allocations: 16.02 kB / 0.728 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007099/0.5972, allocations: 182.5 kB / 0.7281 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.5983, allocations: 0.8062 MB / 0.7289 GB, free: 9.613 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/0.5983, allocations: 41 kB / 0.729 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-05/0.5985, allocations: 63.98 kB / 0.729 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.5997, allocations: 0.7965 MB / 0.7298 GB, free: 8.641 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.5997, allocations: 7.938 kB / 0.7298 GB, free: 8.633 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.5998, allocations: 23.98 kB / 0.7298 GB, free: 8.609 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.5999, allocations: 16 kB / 0.7298 GB, free: 8.594 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009449/0.6008, allocations: 0.5461 MB / 0.7304 GB, free: 8.043 MB / 0.545 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.003847/0.6047, allocations: 4.591 MB / 0.7349 GB, free: 3.066 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000729/0.6054, allocations: 438.2 kB / 0.7353 GB, free: 2.629 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/0.6058, allocations: 245.2 kB / 0.7355 GB, free: 2.387 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/0.6061, allocations: 198.4 kB / 0.7357 GB, free: 2.156 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005023/0.6066, allocations: 301.1 kB / 0.736 GB, free: 1.844 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 1.743e-06/0.6066, allocations: 3.938 kB / 0.736 GB, free: 1.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.005074/0.6117, allocations: 1.684 MB / 0.7376 GB, free: 132 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.6118, allocations: 85.09 kB / 0.7377 GB, free: 28 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.6131, allocations: 1.11 MB / 0.7388 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.411e-05/0.6132, allocations: 41.7 kB / 0.7388 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004057/0.6136, allocations: 492.1 kB / 0.7393 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.575e-05/0.6137, allocations: 110.5 kB / 0.7394 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.386e-05/0.6138, allocations: 45.7 kB / 0.7395 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.6139, allocations: 326 kB / 0.7398 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/0.6143, allocations: 204.7 kB / 0.74 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006077/0.6149, allocations: 0.5338 MB / 0.7405 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008775/0.6158, allocations: 0.6399 MB / 0.7411 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.6158, allocations: 0 / 0.7411 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002179/0.618, allocations: 1.064 MB / 0.7422 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001927/0.6182, allocations: 266.8 kB / 0.7424 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.6182, allocations: 8 kB / 0.7424 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/0.6195, allocations: 390.4 kB / 0.7428 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.6197, allocations: 59.91 kB / 0.7428 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.6211, allocations: 1.087 MB / 0.7439 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006892/0.6218, allocations: 99.47 kB / 0.744 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/0.6218, allocations: 23.98 kB / 0.744 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.723e-06/0.6218, allocations: 4 kB / 0.744 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001308/0.6231, allocations: 0.7246 MB / 0.7447 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.6232, allocations: 4 kB / 0.7447 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004959/0.6237, allocations: 218.1 kB / 0.7449 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.6239, allocations: 67.84 kB / 0.745 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003431/0.6273, allocations: 3.005 MB / 0.7479 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006383/0.628, allocations: 87.69 kB / 0.748 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.628, allocations: 24 kB / 0.7481 GB, free: 4.902 MB / 0.5606 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 {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004961/0.6285, allocations: 472.5 kB / 0.7485 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.6287, allocations: 98.78 kB / 0.7486 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.63, allocations: 0.7221 MB / 0.7493 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.63, allocations: 4 kB / 0.7493 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.63, allocations: 3.938 kB / 0.7493 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.63, allocations: 0 / 0.7493 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002311/0.6323, allocations: 1.62 MB / 0.7509 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.6323, allocations: 12.16 kB / 0.7509 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.6325, allocations: 31.98 kB / 0.7509 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004852/0.6329, allocations: 242.5 kB / 0.7512 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.633, allocations: 8 kB / 0.7512 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.634, allocations: 1.042 MB / 0.7522 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.634, allocations: 4 kB / 0.7522 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.6352, allocations: 0.8331 MB / 0.753 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.6355, allocations: 215.8 kB / 0.7532 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.583e-05/0.6356, allocations: 11.98 kB / 0.7532 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000475/0.6361, allocations: 55.8 kB / 0.7533 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-05/0.6362, allocations: 27.97 kB / 0.7533 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.6362, allocations: 15.94 kB / 0.7533 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000984/0.6372, allocations: 0.7955 MB / 0.7541 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6372, allocations: 0 / 0.7541 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00121/0.6384, allocations: 431.5 kB / 0.7545 GB, free: 14.09 MB / 0.5762 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 {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003741/0.6388, allocations: 179.1 kB / 0.7547 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002431/0.6412, allocations: 1.216 MB / 0.7559 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6412, allocations: 0 / 0.7559 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006364/0.6419, allocations: 291.6 kB / 0.7561 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/0.6443, allocations: 459.4 kB / 0.7566 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.6472, allocations: 2.087 MB / 0.7586 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007877/0.648, allocations: 1.181 MB / 0.7598 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008813/0.6489, allocations: 303.9 kB / 0.7601 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.6491, allocations: 63.42 kB / 0.7601 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.6491, allocations: 0 / 0.7601 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of Templates: time 0.03213/0.6812, allocations: 18.39 MB / 0.7781 GB, free: 6.035 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)