Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.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 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 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.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8866/0.8866, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 180.7 kB / 182.2 MB, free: 9.445 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.673/1.673, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 91.91 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001757/0.001757, allocations: 271.8 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.638e-05/1.639e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4701/0.4701, allocations: 82.76 MB / 0.7574 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.635/5.105, allocations: 1.825 GB / 2.582 GB, free: 235.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/5.105, allocations: 87.83 kB / 2.582 GB, free: 235.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4247/5.53, allocations: 214.5 MB / 2.792 GB, free: 16.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/5.53, allocations: 0 / 2.792 GB, free: 16.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.066e-05/5.53, allocations: 7.938 kB / 2.792 GB, free: 16.53 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001845/5.532, allocations: 0.6187 MB / 2.793 GB, free: 15.87 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/5.532, allocations: 8.031 kB / 2.793 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003161/5.532, allocations: 43.69 kB / 2.793 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005701/5.533, allocations: 302.2 kB / 2.793 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/5.533, allocations: 4 kB / 2.793 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/5.533, allocations: 8 kB / 2.793 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002436/5.533, allocations: 144 kB / 2.793 GB, free: 15.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/5.533, allocations: 197.6 kB / 2.793 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/5.534, allocations: 0 / 2.793 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/5.534, allocations: 0 / 2.793 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/5.534, allocations: 16.25 kB / 2.793 GB, free: 15.11 MB / 0.698 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.00124/5.535, allocations: 0.8288 MB / 2.794 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/5.535, allocations: 118.5 kB / 2.794 GB, free: 14.09 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/5.535, allocations: 88.81 kB / 2.794 GB, free: 14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002352/5.535, allocations: 198.1 kB / 2.794 GB, free: 13.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/5.535, allocations: 30.56 kB / 2.794 GB, free: 13.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/5.535, allocations: 0 / 2.794 GB, free: 13.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0005169/5.536, allocations: 213.6 kB / 2.795 GB, free: 13.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/5.536, allocations: 59.34 kB / 2.795 GB, free: 13.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/5.536, allocations: 157.9 kB / 2.795 GB, free: 13.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/5.536, allocations: 29.7 kB / 2.795 GB, free: 13.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/5.536, allocations: 140.2 kB / 2.795 GB, free: 13.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/5.536, allocations: 43.36 kB / 2.795 GB, free: 13.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/5.536, allocations: 0 / 2.795 GB, free: 13.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.558e-05/5.536, allocations: 334.7 kB / 2.795 GB, free: 12.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.411e-05/5.536, allocations: 67.95 kB / 2.795 GB, free: 12.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/5.536, allocations: 113.9 kB / 2.796 GB, free: 12.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.504e-05/5.537, allocations: 69.33 kB / 2.796 GB, free: 12.47 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/5.537, allocations: 0 / 2.796 GB, free: 12.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002574/5.537, allocations: 202.1 kB / 2.796 GB, free: 12.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/5.537, allocations: 4 kB / 2.796 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/5.537, allocations: 3.984 kB / 2.796 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/5.537, allocations: 4 kB / 2.796 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/5.537, allocations: 43.97 kB / 2.796 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/5.537, allocations: 4 kB / 2.796 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/5.537, allocations: 11.98 kB / 2.796 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/5.537, allocations: 11.98 kB / 2.796 GB, free: 12.19 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 7.246e-05/5.537, allocations: 108.9 kB / 2.796 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/5.538, allocations: 19.88 kB / 2.796 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.904e-05/5.538, allocations: 29.95 kB / 2.796 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/5.538, allocations: 0 / 2.796 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/5.538, allocations: 0 / 2.796 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/5.538, allocations: 0 / 2.796 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007269/5.538, allocations: 0.6449 MB / 2.797 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/5.538, allocations: 4 kB / 2.797 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/5.539, allocations: 39.91 kB / 2.797 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/5.539, allocations: 4 kB / 2.797 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/5.539, allocations: 4 kB / 2.797 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/5.539, allocations: 7.938 kB / 2.797 GB, free: 11.26 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/5.539, allocations: 8.172 kB / 2.797 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/5.539, allocations: 415 kB / 2.797 GB, free: 10.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.05e-05/5.539, allocations: 112.9 kB / 2.797 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/5.539, allocations: 7.953 kB / 2.797 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/5.539, allocations: 15.98 kB / 2.797 GB, free: 10.61 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/5.539, allocations: 7.984 kB / 2.797 GB, free: 10.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/5.539, allocations: 11.98 kB / 2.797 GB, free: 10.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.853e-05/5.539, allocations: 128.3 kB / 2.797 GB, free: 10.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.4e-07/5.539, allocations: 0 / 2.797 GB, free: 10.47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005248/5.54, allocations: 119.8 kB / 2.798 GB, free: 10.35 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.001418/5.541, allocations: 1.001 MB / 2.799 GB, free: 9.348 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002667/5.542, allocations: 159.8 kB / 2.799 GB, free: 9.191 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/5.542, allocations: 4.125 kB / 2.799 GB, free: 9.188 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/5.542, allocations: 91.81 kB / 2.799 GB, free: 9.098 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/5.542, allocations: 84.25 kB / 2.799 GB, free: 9.016 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/5.543, allocations: 291.2 kB / 2.799 GB, free: 8.691 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/5.543, allocations: 0.7672 MB / 2.8 GB, free: 7.895 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002348/5.543, allocations: 66.05 kB / 2.8 GB, free: 7.828 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.021e-05/5.543, allocations: 31.42 kB / 2.8 GB, free: 7.797 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/5.543, allocations: 3.938 kB / 2.8 GB, free: 7.793 MB / 0.698 GB Notification: Performance of Templates: time 0.4211/5.964, allocations: 8.155 MB / 2.808 GB, free: 207.2 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)