Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00264/0.002645, allocations: 358.5 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.248/1.248, allocations: 165.8 MB / 183.1 MB, free: 5.906 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.243/4.243, allocations: 410.7 MB / 0.6001 GB, free: 2.176 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001812/0.001811, allocations: 189 kB / 0.6668 GB, free: 14.04 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006594/0.0006597, allocations: 15.98 kB / 0.7429 GB, free: 36 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5234/0.5241, allocations: 67.43 MB / 0.8087 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8836/1.408, allocations: 417 MB / 1.216 GB, free: 73.53 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003611/1.408, allocations: 107 kB / 1.216 GB, free: 73.47 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.444/5.852, allocations: 0.867 GB / 2.083 GB, free: 51.57 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.625e-06/5.852, allocations: 0 / 2.083 GB, free: 51.57 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002263/5.853, allocations: 50.58 kB / 2.083 GB, free: 51.56 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.007944/5.861, allocations: 2.222 MB / 2.085 GB, free: 50.51 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/5.861, allocations: 11.91 kB / 2.085 GB, free: 50.51 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003464/5.864, allocations: 400.1 kB / 2.086 GB, free: 50.41 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02521/5.889, allocations: 7.875 MB / 2.093 GB, free: 49.73 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/5.89, allocations: 81.11 kB / 2.093 GB, free: 49.73 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003396/5.89, allocations: 112.1 kB / 2.093 GB, free: 49.72 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003807/5.894, allocations: 1.24 MB / 2.095 GB, free: 49.46 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.642e-05/5.894, allocations: 5.594 kB / 2.095 GB, free: 49.46 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001674/5.894, allocations: 42.06 kB / 2.095 GB, free: 49.46 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.948e-05/5.894, allocations: 26.5 kB / 2.095 GB, free: 49.46 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004049/5.898, allocations: 0.9557 MB / 2.096 GB, free: 49.45 MB / 0.5886 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.01207/5.91, allocations: 7.005 MB / 2.103 GB, free: 45.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00299/5.913, allocations: 0.8272 MB / 2.103 GB, free: 45.09 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/5.915, allocations: 404.4 kB / 2.104 GB, free: 45.09 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001968/5.917, allocations: 1.776 MB / 2.105 GB, free: 43.12 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001588/5.918, allocations: 474.4 kB / 2.106 GB, free: 43.07 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=73): time 3.145e-06/5.918, allocations: 0 / 2.106 GB, free: 43.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=73): time 0.004503/5.923, allocations: 1.199 MB / 2.107 GB, free: 42.94 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/5.923, allocations: 89.59 kB / 2.107 GB, free: 42.84 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002659/5.926, allocations: 1.264 MB / 2.108 GB, free: 42.67 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002281/5.926, allocations: 43.2 kB / 2.108 GB, free: 42.64 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007374/5.927, allocations: 0.7232 MB / 2.109 GB, free: 42.38 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003894/5.927, allocations: 262.9 kB / 2.109 GB, free: 42.22 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.231e-05/5.927, allocations: 16.91 kB / 2.109 GB, free: 42.22 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.177e-05/5.927, allocations: 337.4 kB / 2.11 GB, free: 41.92 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/5.929, allocations: 336.5 kB / 2.11 GB, free: 41.92 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/5.93, allocations: 0.6143 MB / 2.111 GB, free: 41.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/5.931, allocations: 414.5 kB / 2.111 GB, free: 41.59 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/5.931, allocations: 1.094 kB / 2.111 GB, free: 41.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003717/5.935, allocations: 1.118 MB / 2.112 GB, free: 41.46 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001916/5.935, allocations: 299.7 kB / 2.112 GB, free: 41.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.344e-05/5.935, allocations: 8.875 kB / 2.112 GB, free: 41.13 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-05/5.935, allocations: 15.89 kB / 2.112 GB, free: 41.12 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/5.937, allocations: 223.7 kB / 2.113 GB, free: 41.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.318e-05/5.937, allocations: 19.22 kB / 2.113 GB, free: 41.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/5.939, allocations: 176 kB / 2.113 GB, free: 41.08 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/5.939, allocations: 52.89 kB / 2.113 GB, free: 41.07 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/5.939, allocations: 6.875 kB / 2.113 GB, free: 41.07 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003174/5.943, allocations: 0.9488 MB / 2.114 GB, free: 41.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.831e-05/5.943, allocations: 14.34 kB / 2.114 GB, free: 41.06 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/5.943, allocations: 13.91 kB / 2.114 GB, free: 41.06 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/5.944, allocations: 220.2 kB / 2.114 GB, free: 41.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/5.944, allocations: 13.88 kB / 2.114 GB, free: 41.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/5.946, allocations: 170.6 kB / 2.114 GB, free: 41.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/5.947, allocations: 46.66 kB / 2.114 GB, free: 41.02 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,eneLosInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001043/5.948, allocations: 413.7 kB / 2.115 GB, free: 40.82 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004004/5.948, allocations: 152.8 kB / 2.115 GB, free: 40.75 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004573/5.953, allocations: 1.434 MB / 2.116 GB, free: 40.65 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.973e-05/5.953, allocations: 19.47 kB / 2.116 GB, free: 40.65 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/5.953, allocations: 0 / 2.116 GB, free: 40.65 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003121/5.956, allocations: 1.229 MB / 2.117 GB, free: 40.29 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007012/5.963, allocations: 2.666 MB / 2.12 GB, free: 39.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.507e-05/5.963, allocations: 7.969 kB / 2.12 GB, free: 39.89 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/5.964, allocations: 167.7 kB / 2.12 GB, free: 39.89 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/5.964, allocations: 8.156 kB / 2.12 GB, free: 39.89 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.974e-05/5.965, allocations: 27.66 kB / 2.12 GB, free: 39.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.135e-05/5.965, allocations: 8.578 kB / 2.12 GB, free: 39.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/5.965, allocations: 4.719 kB / 2.12 GB, free: 39.89 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005219/5.97, allocations: 1.85 MB / 2.122 GB, free: 39.61 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/5.971, allocations: 370.6 kB / 2.122 GB, free: 39.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003486/5.971, allocations: 17.03 kB / 2.122 GB, free: 39.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/5.973, allocations: 110.6 kB / 2.123 GB, free: 39.42 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/5.973, allocations: 79.53 kB / 2.123 GB, free: 39.41 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/5.973, allocations: 37.3 kB / 2.123 GB, free: 39.41 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001958/5.975, allocations: 0.8585 MB / 2.124 GB, free: 39.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.02e-07/5.975, allocations: 1.781 kB / 2.124 GB, free: 39.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003818/5.979, allocations: 0.8951 MB / 2.124 GB, free: 39.17 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pipe.cor.del.x,pipe.cor.timDel.x,pipe.vol.dynBal.U,eneLosInt.y) * Number of discrete variables: 3 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003177/5.982, allocations: 1.268 MB / 2.126 GB, free: 38.92 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004911/5.987, allocations: 1.559 MB / 2.127 GB, free: 38.77 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.852e-06/5.987, allocations: 0 / 2.127 GB, free: 38.77 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00166/5.989, allocations: 0.6001 MB / 2.128 GB, free: 38.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005428/5.995, allocations: 0.6428 MB / 2.128 GB, free: 38.69 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/6.005, allocations: 3.591 MB / 2.132 GB, free: 37.11 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008801/6.006, allocations: 1.289 MB / 2.133 GB, free: 36.38 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002673/6.009, allocations: 410.2 kB / 2.134 GB, free: 36.32 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005945/6.01, allocations: 141 kB / 2.134 GB, free: 36.31 MB / 0.5886 GB Notification: Performance of SimCode: time 1.573e-06/6.01, allocations: 1.125 kB / 2.134 GB, free: 36.31 MB / 0.5886 GB Notification: Performance of Templates: time 0.08557/6.095, allocations: 32.8 MB / 2.166 GB, free: 33.92 MB / 0.5886 GB