Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008772/0.000877, allocations: 99.05 kB / 16.02 MB, free: 80 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.00129/0.00129, allocations: 181.3 kB / 16.92 MB, free: 6.73 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.375/1.375, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7053/0.7053, allocations: 115.5 MB / 407.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.000363, allocations: 8 kB / 495.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1679, allocations: 77.52 MB / 0.5599 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.4697/0.6377, allocations: 163.3 MB / 0.7195 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006316/0.6441, allocations: 4.036 MB / 0.7234 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005578/0.6447, allocations: 11.88 kB / 0.7234 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008032/0.6455, allocations: 194.9 kB / 0.7236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.6474, allocations: 0.6468 MB / 0.7242 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.6487, allocations: 425.6 kB / 0.7246 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003816/0.6525, allocations: 3.807 MB / 0.7283 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002843/0.6554, allocations: 2.36 MB / 0.7307 GB, free: 7.969 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002643/0.6581, allocations: 1.124 MB / 0.7317 GB, free: 6.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.6593, allocations: 0.8674 MB / 0.7326 GB, free: 5.969 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.6594, allocations: 48 kB / 0.7326 GB, free: 5.922 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.6613, allocations: 0.8925 MB / 0.7335 GB, free: 5.027 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003434/0.6617, allocations: 330.8 kB / 0.7338 GB, free: 4.703 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007771/0.6625, allocations: 0.604 MB / 0.7344 GB, free: 4.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.6643, allocations: 1.581 MB / 0.736 GB, free: 2.504 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6644, allocations: 0 / 0.736 GB, free: 2.504 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.575e-06/0.6644, allocations: 0 / 0.736 GB, free: 2.504 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.553e-05/0.6644, allocations: 0 / 0.736 GB, free: 2.504 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002497/0.6669, allocations: 1.48 MB / 0.7374 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.6669, allocations: 8.031 kB / 0.7374 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008104/0.6678, allocations: 210.3 kB / 0.7376 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.669, allocations: 0.8698 MB / 0.7385 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.655e-05/0.6691, allocations: 49.31 kB / 0.7385 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.6692, allocations: 64 kB / 0.7386 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.6707, allocations: 0.9909 MB / 0.7395 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.6708, allocations: 0 / 0.7395 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.867e-05/0.6708, allocations: 27.94 kB / 0.7396 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.6709, allocations: 12 kB / 0.7396 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.6722, allocations: 0.8116 MB / 0.7404 GB, free: 13.79 MB / 0.5606 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.004493/0.6767, allocations: 4.816 MB / 0.7451 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002489/0.6792, allocations: 4.025 MB / 0.749 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000513/0.6797, allocations: 349.2 kB / 0.7493 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002859/0.68, allocations: 198.5 kB / 0.7495 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005399/0.6806, allocations: 333 kB / 0.7498 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002892/0.6809, allocations: 31.69 kB / 0.7499 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 1.683e-06/0.6809, allocations: 0 / 0.7499 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.005407/0.6863, allocations: 1.699 MB / 0.7515 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.6863, allocations: 81.11 kB / 0.7516 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.688, allocations: 1.189 MB / 0.7528 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.648e-05/0.688, allocations: 33.7 kB / 0.7528 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00046/0.6885, allocations: 0.5161 MB / 0.7533 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.6886, allocations: 118.2 kB / 0.7534 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.438e-05/0.6887, allocations: 49.69 kB / 0.7535 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6888, allocations: 329.9 kB / 0.7538 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004595/0.6893, allocations: 232.9 kB / 0.754 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006742/0.69, allocations: 0.5644 MB / 0.7546 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009969/0.691, allocations: 0.702 MB / 0.7552 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.691, allocations: 0 / 0.7552 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00268/0.6937, allocations: 1.166 MB / 0.7564 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002081/0.6939, allocations: 275 kB / 0.7566 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.694, allocations: 4 kB / 0.7566 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/0.6956, allocations: 463.8 kB / 0.7571 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.6959, allocations: 75.89 kB / 0.7572 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.6975, allocations: 1.118 MB / 0.7583 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.6985, allocations: 91.8 kB / 0.7583 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.26e-05/0.6986, allocations: 28 kB / 0.7584 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/0.6986, allocations: 0 / 0.7584 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00155/0.7002, allocations: 0.8179 MB / 0.7592 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.7002, allocations: 12.12 kB / 0.7592 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005871/0.7008, allocations: 244.5 kB / 0.7594 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.7011, allocations: 67.89 kB / 0.7595 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004125/0.7053, allocations: 3.128 MB / 0.7625 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.7063, allocations: 95.83 kB / 0.7626 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/0.7064, allocations: 20 kB / 0.7626 GB, free: 5.191 MB / 0.5762 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 {(11,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0006545/0.7071, allocations: 472.7 kB / 0.7631 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/0.7073, allocations: 118.6 kB / 0.7632 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/0.7089, allocations: 0.8125 MB / 0.764 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.7089, allocations: 4.109 kB / 0.764 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.7089, allocations: 7.922 kB / 0.764 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.7089, allocations: 0 / 0.764 GB, free: 3.762 MB / 0.5762 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 postOpt removeSimpleEquations (simulation): time 0.003142/0.7121, allocations: 2.168 MB / 0.7661 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.7121, allocations: 3.938 kB / 0.7661 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.7123, allocations: 48.16 kB / 0.7662 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004999/0.7129, allocations: 236.8 kB / 0.7664 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.7129, allocations: 8 kB / 0.7664 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009271/0.7138, allocations: 0.9475 MB / 0.7673 GB, free: 196 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.7138, allocations: 7.984 kB / 0.7673 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.7152, allocations: 0.8866 MB / 0.7682 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003893/0.7156, allocations: 235.7 kB / 0.7684 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.7158, allocations: 19.92 kB / 0.7685 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007225/0.7165, allocations: 75.77 kB / 0.7685 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.635e-05/0.7166, allocations: 31.95 kB / 0.7686 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.7166, allocations: 12 kB / 0.7686 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001156/0.7178, allocations: 0.8367 MB / 0.7694 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7178, allocations: 4 kB / 0.7694 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001411/0.7192, allocations: 0.4916 MB / 0.7699 GB, free: 13.53 MB / 0.5919 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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 {(11,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004365/0.7197, allocations: 183.2 kB / 0.77 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002693/0.7224, allocations: 1.301 MB / 0.7713 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.7224, allocations: 0 / 0.7713 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006908/0.7231, allocations: 328.9 kB / 0.7716 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003928/0.727, allocations: 0.6459 MB / 0.7723 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.7306, allocations: 2.31 MB / 0.7745 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009595/0.7316, allocations: 1.213 MB / 0.7757 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001226/0.7328, allocations: 376.6 kB / 0.7761 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.733, allocations: 71.38 kB / 0.7761 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of SimCode: time 1.012e-06/0.733, allocations: 0 / 0.7761 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of Templates: time 0.03584/0.7689, allocations: 21.34 MB / 0.797 GB, free: 1.918 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)