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.8291/0.8291, allocations: 143.4 MB / 158.3 MB, free: 5.793 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.001093/0.001093, allocations: 183 kB / 191.5 MB, free: 5.773 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.429/1.429, allocations: 223.2 MB / 447.7 MB, free: 4.832 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.0008897/0.0008897, allocations: 95.75 kB / 0.5188 GB, free: 1.195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001696/0.001696, allocations: 270.5 kB / 0.6005 GB, free: 48.78 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004362, allocations: 13.69 kB / 0.6929 GB, free: 59.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1552, allocations: 82.8 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.429/4.584, allocations: 1.826 GB / 2.599 GB, free: 192.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/4.585, allocations: 93.27 kB / 2.6 GB, free: 192.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.8681/5.453, allocations: 217.5 MB / 2.812 GB, free: 211.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.053e-06/5.453, allocations: 0 / 2.812 GB, free: 211.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.341e-05/5.453, allocations: 10.84 kB / 2.812 GB, free: 211.4 MB / 0.7136 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.00197/5.455, allocations: 0.6419 MB / 2.813 GB, free: 211 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/5.455, allocations: 14.77 kB / 2.813 GB, free: 211 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002834/5.455, allocations: 43.39 kB / 2.813 GB, free: 211 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006112/5.456, allocations: 298.2 kB / 2.813 GB, free: 210.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/5.456, allocations: 14.81 kB / 2.813 GB, free: 210.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/5.456, allocations: 14.06 kB / 2.813 GB, free: 210.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005175/5.457, allocations: 245.4 kB / 2.813 GB, free: 210.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/5.457, allocations: 6.219 kB / 2.813 GB, free: 210.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/5.457, allocations: 6.594 kB / 2.813 GB, free: 210.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/5.457, allocations: 7.688 kB / 2.813 GB, free: 210.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005037/5.457, allocations: 218.2 kB / 2.813 GB, free: 210.7 MB / 0.7136 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.001568/5.459, allocations: 0.8918 MB / 2.814 GB, free: 210.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/5.459, allocations: 141 kB / 2.814 GB, free: 210.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/5.459, allocations: 192.9 kB / 2.815 GB, free: 210.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/5.459, allocations: 31.17 kB / 2.815 GB, free: 210.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/5.459, allocations: 4.797 kB / 2.815 GB, free: 210.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.001074/5.46, allocations: 351.4 kB / 2.815 GB, free: 210 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/5.461, allocations: 52.88 kB / 2.815 GB, free: 210 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/5.461, allocations: 219.4 kB / 2.815 GB, free: 209.9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/5.461, allocations: 29.22 kB / 2.815 GB, free: 209.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.904e-05/5.461, allocations: 136.7 kB / 2.815 GB, free: 209.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.927e-05/5.461, allocations: 48.36 kB / 2.815 GB, free: 209.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/5.461, allocations: 3.688 kB / 2.815 GB, free: 209.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001017/5.461, allocations: 337.2 kB / 2.816 GB, free: 209.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/5.461, allocations: 84.73 kB / 2.816 GB, free: 209.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/5.462, allocations: 133.6 kB / 2.816 GB, free: 209.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/5.462, allocations: 97.3 kB / 2.816 GB, free: 209.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/5.462, allocations: 0 / 2.816 GB, free: 209.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006094/5.463, allocations: 252.4 kB / 2.816 GB, free: 209.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/5.463, allocations: 5.906 kB / 2.816 GB, free: 209.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/5.463, allocations: 2.875 kB / 2.816 GB, free: 209.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/5.463, allocations: 0.6094 kB / 2.816 GB, free: 209.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/5.463, allocations: 36.23 kB / 2.816 GB, free: 209.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/5.463, allocations: 0.6094 kB / 2.816 GB, free: 209.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/5.463, allocations: 34.61 kB / 2.816 GB, free: 209.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/5.463, allocations: 10.38 kB / 2.816 GB, free: 209.3 MB / 0.7136 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 () * Number of clocked 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 0.0001588/5.463, allocations: 149.4 kB / 2.816 GB, free: 209.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/5.463, allocations: 22.69 kB / 2.817 GB, free: 209.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.3e-05/5.464, allocations: 28.02 kB / 2.817 GB, free: 209.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/5.464, allocations: 2.781 kB / 2.817 GB, free: 209.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/5.464, allocations: 7.188 kB / 2.817 GB, free: 209.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/5.464, allocations: 4.875 kB / 2.817 GB, free: 209.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/5.465, allocations: 0.7356 MB / 2.817 GB, free: 208.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/5.465, allocations: 1.375 kB / 2.817 GB, free: 208.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/5.465, allocations: 37.42 kB / 2.817 GB, free: 208.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/5.465, allocations: 4.938 kB / 2.817 GB, free: 208.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/5.465, allocations: 8.531 kB / 2.817 GB, free: 208.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/5.465, allocations: 4.516 kB / 2.817 GB, free: 208.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/5.465, allocations: 4.75 kB / 2.817 GB, free: 208.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007012/5.466, allocations: 465.8 kB / 2.818 GB, free: 208.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/5.466, allocations: 124 kB / 2.818 GB, free: 208.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/5.466, allocations: 11.81 kB / 2.818 GB, free: 208.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/5.466, allocations: 15.31 kB / 2.818 GB, free: 208.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/5.466, allocations: 15.7 kB / 2.818 GB, free: 208.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/5.466, allocations: 10.14 kB / 2.818 GB, free: 208.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001817/5.467, allocations: 176.6 kB / 2.818 GB, free: 208.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.6e-07/5.467, allocations: 0 / 2.818 GB, free: 208.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007485/5.467, allocations: 133.4 kB / 2.818 GB, free: 208.3 MB / 0.7136 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 () * Number of clocked 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.001564/5.469, allocations: 0.878 MB / 2.819 GB, free: 208.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006039/5.47, allocations: 209.7 kB / 2.819 GB, free: 208.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/5.47, allocations: 0 / 2.819 GB, free: 208.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002707/5.47, allocations: 112.7 kB / 2.819 GB, free: 208.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006935/5.471, allocations: 117.2 kB / 2.82 GB, free: 208.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008661/5.471, allocations: 0.5137 MB / 2.82 GB, free: 207.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/5.472, allocations: 0.7629 MB / 2.821 GB, free: 207.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002726/5.472, allocations: 73.53 kB / 2.821 GB, free: 207.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.868e-05/5.472, allocations: 25.73 kB / 2.821 GB, free: 207.1 MB / 0.7136 GB Notification: Performance of SimCode: time 3.81e-07/5.472, allocations: 0 / 2.821 GB, free: 207.1 MB / 0.7136 GB Notification: Performance of Templates: time 0.02864/5.501, allocations: 15.06 MB / 2.836 GB, free: 207 MB / 0.7136 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)