Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.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.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8078/0.8078, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001168/0.001168, allocations: 188.8 kB / 182.2 MB, free: 9.438 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.531/1.531, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.0008939/0.0008939, allocations: 86.64 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001803/0.001804, allocations: 270.1 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.641e-05/1.642e-05, allocations: 0 / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4606/0.4607, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9055/1.366, allocations: 402.2 MB / 1.15 GB, free: 12.14 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/1.367, allocations: 93.7 kB / 1.15 GB, free: 12.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.998/3.365, allocations: 0.5168 GB / 1.667 GB, free: 51.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.583e-06/3.365, allocations: 0 / 1.667 GB, free: 51.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002628/3.365, allocations: 40.14 kB / 1.667 GB, free: 51.72 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.005631/3.371, allocations: 1.629 MB / 1.669 GB, free: 50.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/3.371, allocations: 8.031 kB / 1.669 GB, free: 50.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/3.372, allocations: 170 kB / 1.669 GB, free: 49.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05629/3.428, allocations: 27.53 MB / 1.696 GB, free: 22.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/3.428, allocations: 63.7 kB / 1.696 GB, free: 21.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003755/3.429, allocations: 52 kB / 1.696 GB, free: 21.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001745/3.43, allocations: 0.738 MB / 1.696 GB, free: 21.15 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/3.432, allocations: 0.9714 MB / 1.697 GB, free: 20.15 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/3.432, allocations: 4 kB / 1.697 GB, free: 20.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/3.433, allocations: 0 / 1.697 GB, free: 20.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.735e-05/3.433, allocations: 45.98 kB / 1.697 GB, free: 20.1 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.006629/3.439, allocations: 4.453 MB / 1.702 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000767/3.44, allocations: 496.6 kB / 1.702 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/3.44, allocations: 266.8 kB / 1.703 GB, free: 14.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007351/3.441, allocations: 0.9266 MB / 1.703 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/3.441, allocations: 39.12 kB / 1.703 GB, free: 13.44 MB / 0.698 GB Notification: Performance of pre-optimization done (n=56): time 3.396e-06/3.441, allocations: 0 / 1.703 GB, free: 13.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=56): time 0.001603/3.443, allocations: 0.6303 MB / 1.704 GB, free: 12.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/3.443, allocations: 59.97 kB / 1.704 GB, free: 12.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/3.444, allocations: 0.8702 MB / 1.705 GB, free: 11.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.427e-05/3.444, allocations: 26.25 kB / 1.705 GB, free: 11.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/3.445, allocations: 0.6013 MB / 1.706 GB, free: 11.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/3.445, allocations: 189.2 kB / 1.706 GB, free: 11.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/3.445, allocations: 0 / 1.706 GB, free: 11.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.959e-05/3.445, allocations: 330 kB / 1.706 GB, free: 10.69 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/3.445, allocations: 221.3 kB / 1.706 GB, free: 10.47 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/3.446, allocations: 383.4 kB / 1.707 GB, free: 10.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008396/3.447, allocations: 361.8 kB / 1.707 GB, free: 9.668 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/3.447, allocations: 0 / 1.707 GB, free: 9.668 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001588/3.448, allocations: 0.771 MB / 1.708 GB, free: 8.895 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004397/3.449, allocations: 1.582 MB / 1.709 GB, free: 7.195 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/3.449, allocations: 4 kB / 1.709 GB, free: 7.191 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/3.449, allocations: 12 kB / 1.709 GB, free: 7.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009045/3.45, allocations: 175.8 kB / 1.71 GB, free: 7.008 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005678/3.45, allocations: 1.188 MB / 1.711 GB, free: 5.773 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/3.451, allocations: 87.47 kB / 1.711 GB, free: 5.688 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.567e-05/3.451, allocations: 31.98 kB / 1.711 GB, free: 5.656 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/3.451, allocations: 4 kB / 1.711 GB, free: 5.652 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00127/3.453, allocations: 0.6258 MB / 1.711 GB, free: 5.031 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/3.453, allocations: 7.953 kB / 1.711 GB, free: 5.023 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/3.453, allocations: 8 kB / 1.711 GB, free: 5.016 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005631/3.453, allocations: 159.8 kB / 1.712 GB, free: 4.859 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/3.453, allocations: 8.406 kB / 1.712 GB, free: 4.852 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009934/3.454, allocations: 91.38 kB / 1.712 GB, free: 4.762 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.311e-05/3.454, allocations: 31.98 kB / 1.712 GB, free: 4.73 MB / 0.698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002284/3.455, allocations: 125.2 kB / 1.712 GB, free: 4.602 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003226/3.455, allocations: 114.6 kB / 1.712 GB, free: 4.488 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/3.457, allocations: 0.826 MB / 1.713 GB, free: 3.652 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/3.457, allocations: 4 kB / 1.713 GB, free: 3.648 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/3.457, allocations: 0 / 1.713 GB, free: 3.648 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001056/3.458, allocations: 0.6773 MB / 1.713 GB, free: 2.941 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00392/3.462, allocations: 1.782 MB / 1.715 GB, free: 1.105 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/3.462, allocations: 0 / 1.715 GB, free: 1.105 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006206/3.463, allocations: 147.8 kB / 1.715 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/3.463, allocations: 4 kB / 1.715 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.517e-05/3.463, allocations: 11.98 kB / 1.715 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5734/4.036, allocations: 1.164 MB / 1.716 GB, free: 108.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/4.036, allocations: 3.266 kB / 1.716 GB, free: 108.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003358/4.039, allocations: 1.207 MB / 1.718 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000796/4.04, allocations: 292.1 kB / 1.718 GB, free: 108.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/4.04, allocations: 5.672 kB / 1.718 GB, free: 108.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008204/4.041, allocations: 69.42 kB / 1.718 GB, free: 108.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/4.041, allocations: 39.66 kB / 1.718 GB, free: 108.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.933e-05/4.042, allocations: 32.75 kB / 1.718 GB, free: 108.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001335/4.043, allocations: 0.6694 MB / 1.719 GB, free: 108 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/4.043, allocations: 0 / 1.719 GB, free: 108 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002859/4.046, allocations: 0.7005 MB / 1.719 GB, free: 108 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip1.vol[1].dynBal.U,pip2.vol[1].dynBal.U,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001969/4.048, allocations: 0.6149 MB / 1.72 GB, free: 107.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002262/4.05, allocations: 0.9393 MB / 1.721 GB, free: 107.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/4.05, allocations: 1.219 kB / 1.721 GB, free: 107.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005377/4.051, allocations: 315.7 kB / 1.721 GB, free: 107.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003426/4.054, allocations: 0.6057 MB / 1.722 GB, free: 107.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/4.058, allocations: 1.961 MB / 1.724 GB, free: 107.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009368/4.059, allocations: 1.365 MB / 1.725 GB, free: 106.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002292/4.061, allocations: 0.595 MB / 1.726 GB, free: 106.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/4.061, allocations: 77.62 kB / 1.726 GB, free: 106.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.162e-06/4.061, allocations: 0 / 1.726 GB, free: 106.6 MB / 0.698 GB Notification: Performance of Templates: time 0.05273/4.114, allocations: 24.75 MB / 1.75 GB, free: 106.2 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)