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.7705/0.7705, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009971/0.0009973, allocations: 182.2 kB / 187.3 MB, free: 11.88 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.464/1.464, allocations: 221.3 MB / 441.4 MB, free: 4.574 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.000928/0.0009281, allocations: 104.9 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001785/0.001785, allocations: 283.6 kB / 0.5939 GB, free: 7.93 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.013e-05/3.027e-05, allocations: 4 kB / 0.6834 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3927, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.347/4.74, allocations: 1.826 GB / 2.59 GB, free: 223.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/4.74, allocations: 90.8 kB / 2.59 GB, free: 223.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3876/5.128, allocations: 217.3 MB / 2.802 GB, free: 1.477 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.282e-06/5.128, allocations: 0 / 2.802 GB, free: 1.477 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.427e-05/5.128, allocations: 4 kB / 2.802 GB, free: 1.473 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.001655/5.13, allocations: 0.6147 MB / 2.803 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/5.13, allocations: 8.031 kB / 2.803 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/5.13, allocations: 51.67 kB / 2.803 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/5.131, allocations: 302 kB / 2.803 GB, free: 428 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/5.131, allocations: 12 kB / 2.803 GB, free: 416 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/5.131, allocations: 12 kB / 2.803 GB, free: 404 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/5.131, allocations: 213.6 kB / 2.803 GB, free: 184 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/5.131, allocations: 4 kB / 2.803 GB, free: 180 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/5.131, allocations: 4 kB / 2.803 GB, free: 176 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/5.131, allocations: 16.25 kB / 2.803 GB, free: 156 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5212/5.652, allocations: 166.3 kB / 2.804 GB, free: 205.2 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.002186/5.654, allocations: 0.8816 MB / 2.804 GB, free: 204.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/5.655, allocations: 127.3 kB / 2.805 GB, free: 204.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/5.655, allocations: 99.22 kB / 2.805 GB, free: 204.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003142/5.655, allocations: 192.4 kB / 2.805 GB, free: 204.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/5.655, allocations: 32.41 kB / 2.805 GB, free: 204.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 2.695e-06/5.655, allocations: 0 / 2.805 GB, free: 204.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0007297/5.656, allocations: 223.6 kB / 2.805 GB, free: 204.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/5.656, allocations: 54.38 kB / 2.805 GB, free: 204.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/5.656, allocations: 212.4 kB / 2.805 GB, free: 204.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/5.656, allocations: 33.73 kB / 2.805 GB, free: 204.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/5.657, allocations: 136 kB / 2.805 GB, free: 204.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.3e-05/5.657, allocations: 49.05 kB / 2.806 GB, free: 204.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/5.657, allocations: 0.9375 kB / 2.806 GB, free: 204.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001151/5.657, allocations: 337.6 kB / 2.806 GB, free: 203.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/5.657, allocations: 68.83 kB / 2.806 GB, free: 203.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/5.657, allocations: 113.5 kB / 2.806 GB, free: 203.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/5.657, allocations: 74.41 kB / 2.806 GB, free: 203.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/5.657, allocations: 0 / 2.806 GB, free: 203.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004703/5.658, allocations: 217.2 kB / 2.806 GB, free: 203.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/5.658, allocations: 6.344 kB / 2.806 GB, free: 203.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/5.658, allocations: 0.8125 kB / 2.806 GB, free: 203.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/5.658, allocations: 1.531 kB / 2.806 GB, free: 203.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/5.658, allocations: 39.53 kB / 2.806 GB, free: 203.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/5.658, allocations: 5.641 kB / 2.806 GB, free: 203.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/5.659, allocations: 28.53 kB / 2.806 GB, free: 203.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.79e-05/5.659, allocations: 12.25 kB / 2.806 GB, free: 203.8 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 8.963e-05/5.659, allocations: 115.4 kB / 2.807 GB, free: 203.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/5.659, allocations: 21.66 kB / 2.807 GB, free: 203.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/5.659, allocations: 30.7 kB / 2.807 GB, free: 203.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/5.659, allocations: 2.562 kB / 2.807 GB, free: 203.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/5.659, allocations: 0.5938 kB / 2.807 GB, free: 203.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/5.659, allocations: 1.172 kB / 2.807 GB, free: 203.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/5.66, allocations: 0.6887 MB / 2.807 GB, free: 203.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/5.66, allocations: 1.969 kB / 2.807 GB, free: 203.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/5.661, allocations: 44.59 kB / 2.807 GB, free: 203.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/5.661, allocations: 2.781 kB / 2.807 GB, free: 203.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/5.661, allocations: 10.33 kB / 2.807 GB, free: 203.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/5.661, allocations: 7.766 kB / 2.807 GB, free: 203.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/5.661, allocations: 2.281 kB / 2.807 GB, free: 203.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005506/5.661, allocations: 433.2 kB / 2.808 GB, free: 203 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/5.661, allocations: 118.8 kB / 2.808 GB, free: 202.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/5.661, allocations: 8.281 kB / 2.808 GB, free: 202.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/5.662, allocations: 21.39 kB / 2.808 GB, free: 202.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.286e-05/5.662, allocations: 19.2 kB / 2.808 GB, free: 202.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/5.662, allocations: 10.5 kB / 2.808 GB, free: 202.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002178/5.662, allocations: 175.5 kB / 2.808 GB, free: 202.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/5.662, allocations: 0 / 2.808 GB, free: 202.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008127/5.663, allocations: 132.5 kB / 2.808 GB, free: 202.8 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.00201/5.665, allocations: 0.8792 MB / 2.809 GB, free: 202.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004832/5.665, allocations: 172.8 kB / 2.809 GB, free: 202.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/5.665, allocations: 2.969 kB / 2.809 GB, free: 202.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/5.666, allocations: 95.86 kB / 2.809 GB, free: 202.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008468/5.666, allocations: 127.6 kB / 2.809 GB, free: 202.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008273/5.667, allocations: 325.7 kB / 2.81 GB, free: 202.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/5.668, allocations: 0.7567 MB / 2.81 GB, free: 201.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003447/5.668, allocations: 72.02 kB / 2.811 GB, free: 201.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/5.668, allocations: 23.33 kB / 2.811 GB, free: 201.7 MB / 0.698 GB Notification: Performance of SimCode: time 8.52e-07/5.668, allocations: 0 / 2.811 GB, free: 201.7 MB / 0.698 GB Notification: Performance of Templates: time 0.02697/5.695, allocations: 17.51 MB / 2.828 GB, free: 201.6 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)