Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7435/0.7435, allocations: 130.5 MB / 143.8 MB, free: 13.58 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 221.3 MB / 396.8 MB, free: 9.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000933/0.0009329, allocations: 111.8 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.454e-05/3.464e-05, allocations: 3.562 kB / 0.5551 GB, free: 86.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1629, allocations: 81.59 MB / 0.6348 GB, free: 12.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.793/4.956, allocations: 1.832 GB / 2.467 GB, free: 90.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/4.956, allocations: 97.5 kB / 2.467 GB, free: 90.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.182/9.138, allocations: 1.08 GB / 3.547 GB, free: 73.46 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.525e-06/9.138, allocations: 4 kB / 3.547 GB, free: 73.46 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001226/9.138, allocations: 31.98 kB / 3.547 GB, free: 73.43 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004347/9.143, allocations: 1.271 MB / 3.548 GB, free: 72.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/9.143, allocations: 8.031 kB / 3.548 GB, free: 72.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/9.144, allocations: 194.4 kB / 3.548 GB, free: 71.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00341/9.147, allocations: 1.437 MB / 3.549 GB, free: 70.41 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.078e-05/9.147, allocations: 57.25 kB / 3.549 GB, free: 70.35 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/9.147, allocations: 60 kB / 3.549 GB, free: 70.29 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/9.149, allocations: 0.9254 MB / 3.55 GB, free: 69.29 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/9.149, allocations: 0 / 3.55 GB, free: 69.29 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-05/9.149, allocations: 24 kB / 3.55 GB, free: 69.27 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/9.149, allocations: 16 kB / 3.55 GB, free: 69.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008666/9.15, allocations: 0.7103 MB / 3.551 GB, free: 68.54 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.004018/9.154, allocations: 4.744 MB / 3.556 GB, free: 63.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/9.155, allocations: 4.009 MB / 3.56 GB, free: 58.64 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/9.156, allocations: 324.7 kB / 3.56 GB, free: 58.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003123/9.156, allocations: 198.8 kB / 3.56 GB, free: 58.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003732/9.156, allocations: 302.4 kB / 3.56 GB, free: 57.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004704/9.157, allocations: 31.75 kB / 3.561 GB, free: 57.74 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 4.067e-06/9.157, allocations: 0 / 3.561 GB, free: 57.74 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.001301/9.158, allocations: 0.7269 MB / 3.561 GB, free: 57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/9.158, allocations: 89.06 kB / 3.561 GB, free: 56.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/9.159, allocations: 1.024 MB / 3.562 GB, free: 55.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/9.159, allocations: 45.69 kB / 3.562 GB, free: 55.81 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/9.16, allocations: 0.5166 MB / 3.563 GB, free: 55.29 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/9.16, allocations: 130.1 kB / 3.563 GB, free: 55.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/9.16, allocations: 12 kB / 3.563 GB, free: 55.15 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.981e-05/9.16, allocations: 330 kB / 3.563 GB, free: 54.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/9.16, allocations: 185 kB / 3.563 GB, free: 54.64 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004282/9.161, allocations: 0.5287 MB / 3.564 GB, free: 53.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/9.161, allocations: 315.3 kB / 3.564 GB, free: 53.65 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/9.161, allocations: 4 kB / 3.564 GB, free: 53.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001178/9.162, allocations: 0.9046 MB / 3.565 GB, free: 52.72 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004867/9.163, allocations: 2.229 MB / 3.567 GB, free: 50.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/9.163, allocations: 8 kB / 3.567 GB, free: 50.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005703/9.163, allocations: 292.5 kB / 3.568 GB, free: 50.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/9.164, allocations: 91.83 kB / 3.568 GB, free: 49.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/9.165, allocations: 1.653 MB / 3.569 GB, free: 48.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/9.166, allocations: 103.8 kB / 3.569 GB, free: 48.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.244e-05/9.166, allocations: 27.98 kB / 3.569 GB, free: 48.11 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/9.166, allocations: 4 kB / 3.569 GB, free: 48.11 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001098/9.167, allocations: 0.7596 MB / 3.57 GB, free: 47.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/9.167, allocations: 8 kB / 3.57 GB, free: 47.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004327/9.168, allocations: 204.7 kB / 3.57 GB, free: 47.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/9.168, allocations: 95.95 kB / 3.571 GB, free: 47.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002903/9.171, allocations: 2.9 MB / 3.573 GB, free: 44.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/9.172, allocations: 99.8 kB / 3.573 GB, free: 43.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/9.172, allocations: 24 kB / 3.573 GB, free: 43.89 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001838/9.172, allocations: 149.4 kB / 3.574 GB, free: 43.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/9.173, allocations: 106.7 kB / 3.574 GB, free: 43.63 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/9.174, allocations: 0.7557 MB / 3.574 GB, free: 42.86 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/9.174, allocations: 4 kB / 3.574 GB, free: 42.86 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/9.174, allocations: 0 / 3.574 GB, free: 42.86 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/9.174, allocations: 7.984 kB / 3.574 GB, free: 42.85 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.002439/9.176, allocations: 2.122 MB / 3.577 GB, free: 40.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/9.176, allocations: 0 / 3.577 GB, free: 40.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/9.177, allocations: 68.14 kB / 3.577 GB, free: 40.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003651/9.177, allocations: 188.6 kB / 3.577 GB, free: 40.34 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/9.177, allocations: 8 kB / 3.577 GB, free: 40.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007902/9.178, allocations: 1.462 MB / 3.578 GB, free: 38.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/9.178, allocations: 4.031 kB / 3.578 GB, free: 38.81 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009068/9.179, allocations: 0.9273 MB / 3.579 GB, free: 37.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000421/9.179, allocations: 239.7 kB / 3.579 GB, free: 37.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/9.179, allocations: 8 kB / 3.579 GB, free: 37.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007084/9.18, allocations: 79.75 kB / 3.579 GB, free: 37.46 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/9.18, allocations: 35.89 kB / 3.579 GB, free: 37.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/9.18, allocations: 16 kB / 3.579 GB, free: 37.41 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000921/9.181, allocations: 0.8143 MB / 3.58 GB, free: 36.58 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/9.181, allocations: 0 / 3.58 GB, free: 36.58 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001928/9.183, allocations: 0.6089 MB / 3.581 GB, free: 35.97 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001881/9.185, allocations: 1.06 MB / 3.582 GB, free: 34.91 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002618/9.187, allocations: 1.243 MB / 3.583 GB, free: 33.62 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/9.187, allocations: 0 / 3.583 GB, free: 33.62 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005629/9.188, allocations: 300.2 kB / 3.583 GB, free: 33.33 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003401/9.191, allocations: 0.65 MB / 3.584 GB, free: 32.69 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/9.194, allocations: 1.458 MB / 3.585 GB, free: 31.18 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006108/9.195, allocations: 1.246 MB / 3.587 GB, free: 29.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00202/9.197, allocations: 0.8045 MB / 3.587 GB, free: 29.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.665e-05/9.197, allocations: 47.44 kB / 3.588 GB, free: 29.05 MB / 0.6823 GB Notification: Performance of SimCode: time 1.283e-06/9.197, allocations: 0 / 3.588 GB, free: 29.05 MB / 0.6823 GB Notification: Performance of Templates: time 0.5464/9.743, allocations: 38.1 MB / 3.625 GB, free: 170.4 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)