Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7696/0.7696, allocations: 140 MB / 156 MB, free: 5.172 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 173.7 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.4 MB / 426.3 MB, free: 8.453 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001344/0.001344, allocations: 90.34 kB / 0.4945 GB, free: 8.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001689/0.001689, allocations: 261.2 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000489/0.000489, allocations: 16 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.417, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7663/1.183, allocations: 409.4 MB / 1.139 GB, free: 3.848 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/1.184, allocations: 98.2 kB / 1.139 GB, free: 3.797 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.557/2.741, allocations: 465.3 MB / 1.594 GB, free: 55.8 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.743e-06/2.741, allocations: 0 / 1.594 GB, free: 55.8 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001566/2.741, allocations: 24 kB / 1.594 GB, free: 55.78 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004299/2.745, allocations: 1.6 MB / 1.595 GB, free: 54.12 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/2.745, allocations: 12.03 kB / 1.595 GB, free: 54.11 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000582/2.746, allocations: 139.4 kB / 1.596 GB, free: 53.98 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01411/2.76, allocations: 7.475 MB / 1.603 GB, free: 46.39 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.816e-05/2.76, allocations: 54.25 kB / 1.603 GB, free: 46.34 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002439/2.76, allocations: 68 kB / 1.603 GB, free: 46.27 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/2.762, allocations: 0.7607 MB / 1.604 GB, free: 45.46 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/2.762, allocations: 4 kB / 1.604 GB, free: 45.46 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.669e-05/2.762, allocations: 32 kB / 1.604 GB, free: 45.43 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/2.762, allocations: 16 kB / 1.604 GB, free: 45.41 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009387/2.763, allocations: 0.5087 MB / 1.604 GB, free: 44.91 MB / 0.6667 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.004603/2.768, allocations: 4.375 MB / 1.608 GB, free: 40.13 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006395/2.768, allocations: 353.2 kB / 1.609 GB, free: 39.78 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/2.769, allocations: 204.7 kB / 1.609 GB, free: 39.58 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009291/2.77, allocations: 1.508 MB / 1.61 GB, free: 37.74 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/2.77, allocations: 34.56 kB / 1.611 GB, free: 37.7 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=43): time 2.575e-06/2.77, allocations: 4 kB / 1.611 GB, free: 37.69 MB / 0.6667 GB Notification: Performance of matching and sorting (n=43): time 0.001951/2.772, allocations: 0.842 MB / 1.611 GB, free: 36.82 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/2.772, allocations: 63.34 kB / 1.611 GB, free: 36.75 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/2.773, allocations: 0.8402 MB / 1.612 GB, free: 35.88 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.462e-05/2.773, allocations: 37.7 kB / 1.612 GB, free: 35.84 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/2.773, allocations: 487.7 kB / 1.613 GB, free: 35.36 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/2.773, allocations: 149.8 kB / 1.613 GB, free: 35.21 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/2.773, allocations: 12 kB / 1.613 GB, free: 35.2 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 5.995e-05/2.773, allocations: 326 kB / 1.613 GB, free: 34.88 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/2.774, allocations: 165 kB / 1.613 GB, free: 34.71 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/2.774, allocations: 320.7 kB / 1.614 GB, free: 34.33 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005787/2.775, allocations: 0.4949 MB / 1.614 GB, free: 33.78 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/2.775, allocations: 4 kB / 1.614 GB, free: 33.78 MB / 0.6667 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001336/2.776, allocations: 0.6899 MB / 1.615 GB, free: 33.08 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/2.776, allocations: 209.5 kB / 1.615 GB, free: 32.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/2.776, allocations: 11.92 kB / 1.615 GB, free: 32.81 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005/2.777, allocations: 108.8 kB / 1.615 GB, free: 32.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/2.777, allocations: 103.8 kB / 1.615 GB, free: 32.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003541/2.777, allocations: 0.5992 MB / 1.616 GB, free: 31.97 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008023/2.778, allocations: 103.4 kB / 1.616 GB, free: 31.87 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.739e-05/2.778, allocations: 31.98 kB / 1.616 GB, free: 31.84 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/2.778, allocations: 5.406 kB / 1.616 GB, free: 31.84 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00108/2.779, allocations: 0.5702 MB / 1.617 GB, free: 31.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/2.779, allocations: 11.98 kB / 1.617 GB, free: 31.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000399/2.78, allocations: 109.1 kB / 1.617 GB, free: 31.14 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/2.78, allocations: 103.8 kB / 1.617 GB, free: 31.04 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003097/2.78, allocations: 0.6069 MB / 1.617 GB, free: 30.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007652/2.781, allocations: 91.55 kB / 1.617 GB, free: 30.32 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.977e-05/2.781, allocations: 27.98 kB / 1.617 GB, free: 30.29 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 56 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005143/2.782, allocations: 348.8 kB / 1.618 GB, free: 29.94 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/2.782, allocations: 94.88 kB / 1.618 GB, free: 29.85 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/2.784, allocations: 0.9689 MB / 1.619 GB, free: 28.87 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/2.784, allocations: 15.94 kB / 1.619 GB, free: 28.86 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/2.784, allocations: 0 / 1.619 GB, free: 28.86 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001029/2.785, allocations: 0.8916 MB / 1.62 GB, free: 27.89 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/2.788, allocations: 1.834 MB / 1.621 GB, free: 25.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/2.788, allocations: 6.672 kB / 1.621 GB, free: 25.98 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/2.788, allocations: 80 kB / 1.622 GB, free: 25.91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002928/2.788, allocations: 76.73 kB / 1.622 GB, free: 25.83 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/2.788, allocations: 19.98 kB / 1.622 GB, free: 25.81 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003197/2.789, allocations: 0.6029 MB / 1.622 GB, free: 25.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/2.789, allocations: 4.031 kB / 1.622 GB, free: 25.18 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/2.79, allocations: 1.195 MB / 1.623 GB, free: 23.96 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005331/2.791, allocations: 267.6 kB / 1.624 GB, free: 23.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/2.791, allocations: 12 kB / 1.624 GB, free: 23.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006812/2.792, allocations: 63.84 kB / 1.624 GB, free: 23.61 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/2.792, allocations: 48.5 kB / 1.624 GB, free: 23.55 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.443e-05/2.792, allocations: 23.98 kB / 1.624 GB, free: 23.53 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000918/2.793, allocations: 0.5864 MB / 1.624 GB, free: 22.93 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.31e-07/2.793, allocations: 3.938 kB / 1.624 GB, free: 22.93 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002165/2.795, allocations: 0.6121 MB / 1.625 GB, free: 22.32 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001725/2.797, allocations: 0.7435 MB / 1.626 GB, free: 21.58 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001646/2.798, allocations: 0.8807 MB / 1.627 GB, free: 20.68 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/2.798, allocations: 1.562 kB / 1.627 GB, free: 20.68 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004983/2.799, allocations: 398.7 kB / 1.627 GB, free: 20.28 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/2.801, allocations: 456.2 kB / 1.627 GB, free: 19.84 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/2.804, allocations: 2.309 MB / 1.63 GB, free: 17.48 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005108/2.805, allocations: 1.05 MB / 1.631 GB, free: 16.4 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001009/2.806, allocations: 263.7 kB / 1.631 GB, free: 16.14 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/2.806, allocations: 91.39 kB / 1.631 GB, free: 16.05 MB / 0.6667 GB Notification: Performance of SimCode: time 3.91e-07/2.806, allocations: 0 / 1.631 GB, free: 16.05 MB / 0.6667 GB Notification: Performance of Templates: time 0.425/3.231, allocations: 24.23 MB / 1.655 GB, free: 100.7 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)