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.8268/0.8268, allocations: 141.7 MB / 154.3 MB, free: 15.5 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.001157/0.001157, allocations: 177.8 kB / 187.3 MB, free: 11.89 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.797/1.797, allocations: 221.3 MB / 441.4 MB, free: 4.648 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.001363/0.001364, allocations: 93.83 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001832/0.001833, allocations: 279.1 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.219e-05/4.223e-05, allocations: 8 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5136/0.5136, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9202/1.434, allocations: 402.8 MB / 1.158 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/1.434, allocations: 90.58 kB / 1.158 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.966/3.4, allocations: 0.5196 GB / 1.677 GB, free: 51.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.332e-06/3.4, allocations: 3.938 kB / 1.677 GB, free: 51.81 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001365/3.4, allocations: 39.94 kB / 1.677 GB, free: 51.77 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.003257/3.404, allocations: 1.622 MB / 1.679 GB, free: 50.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/3.404, allocations: 8.031 kB / 1.679 GB, free: 50.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004281/3.404, allocations: 186 kB / 1.679 GB, free: 49.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05106/3.455, allocations: 27.61 MB / 1.706 GB, free: 21.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.213e-05/3.455, allocations: 95.7 kB / 1.706 GB, free: 21.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/3.456, allocations: 92 kB / 1.706 GB, free: 21.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/3.457, allocations: 1.092 MB / 1.707 GB, free: 20.65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/3.457, allocations: 0 / 1.707 GB, free: 20.65 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-05/3.457, allocations: 40 kB / 1.707 GB, free: 20.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.896e-05/3.457, allocations: 41.98 kB / 1.707 GB, free: 20.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/3.458, allocations: 0.7926 MB / 1.708 GB, free: 19.77 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.005156/3.464, allocations: 4.648 MB / 1.713 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007521/3.464, allocations: 0.5121 MB / 1.713 GB, free: 14.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/3.465, allocations: 291.9 kB / 1.713 GB, free: 14.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007561/3.466, allocations: 0.9227 MB / 1.714 GB, free: 12.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/3.466, allocations: 43.11 kB / 1.714 GB, free: 12.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=56): time 2.685e-06/3.466, allocations: 0 / 1.714 GB, free: 12.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=56): time 0.001015/3.467, allocations: 0.6028 MB / 1.715 GB, free: 12.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/3.467, allocations: 63.97 kB / 1.715 GB, free: 12.17 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/3.468, allocations: 1.042 MB / 1.716 GB, free: 11.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.341e-05/3.468, allocations: 41.7 kB / 1.716 GB, free: 11.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003617/3.468, allocations: 0.6022 MB / 1.717 GB, free: 10.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/3.468, allocations: 197.1 kB / 1.717 GB, free: 10.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/3.468, allocations: 16 kB / 1.717 GB, free: 10.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.159e-05/3.468, allocations: 326 kB / 1.717 GB, free: 9.926 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/3.469, allocations: 217.5 kB / 1.717 GB, free: 9.715 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003758/3.469, allocations: 408.8 kB / 1.718 GB, free: 9.242 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/3.47, allocations: 291.1 kB / 1.718 GB, free: 8.957 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/3.47, allocations: 4.094 kB / 1.718 GB, free: 8.953 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009711/3.47, allocations: 0.7587 MB / 1.719 GB, free: 8.184 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003078/3.471, allocations: 1.599 MB / 1.72 GB, free: 6.488 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/3.471, allocations: 11.94 kB / 1.72 GB, free: 6.477 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/3.471, allocations: 12 kB / 1.72 GB, free: 6.465 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007754/3.472, allocations: 179.8 kB / 1.721 GB, free: 6.289 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004262/3.472, allocations: 1.18 MB / 1.722 GB, free: 5.062 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000952/3.473, allocations: 115.3 kB / 1.722 GB, free: 4.949 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.168e-05/3.473, allocations: 39.98 kB / 1.722 GB, free: 4.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/3.473, allocations: 5.562 kB / 1.722 GB, free: 4.906 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008011/3.474, allocations: 0.6145 MB / 1.723 GB, free: 4.293 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/3.474, allocations: 8.062 kB / 1.723 GB, free: 4.285 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/3.474, allocations: 8 kB / 1.723 GB, free: 4.277 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005388/3.475, allocations: 159.8 kB / 1.723 GB, free: 4.121 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/3.475, allocations: 11.98 kB / 1.723 GB, free: 4.109 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006748/3.475, allocations: 107.2 kB / 1.723 GB, free: 4.004 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/3.475, allocations: 31.98 kB / 1.723 GB, free: 3.973 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.0001551/3.475, allocations: 150.1 kB / 1.723 GB, free: 3.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/3.476, allocations: 134.4 kB / 1.723 GB, free: 3.688 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/3.477, allocations: 0.8116 MB / 1.724 GB, free: 2.867 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/3.477, allocations: 8 kB / 1.724 GB, free: 2.859 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/3.477, allocations: 0 / 1.724 GB, free: 2.859 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007503/3.478, allocations: 0.6501 MB / 1.725 GB, free: 2.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/3.481, allocations: 1.894 MB / 1.726 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/3.481, allocations: 3.938 kB / 1.726 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006557/3.481, allocations: 139.8 kB / 1.727 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/3.481, allocations: 3.984 kB / 1.727 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.825e-05/3.481, allocations: 28.02 kB / 1.727 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4613/3.943, allocations: 1.167 MB / 1.728 GB, free: 104 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/3.943, allocations: 1.438 kB / 1.728 GB, free: 104 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002505/3.945, allocations: 1.205 MB / 1.729 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007822/3.946, allocations: 302.3 kB / 1.729 GB, free: 103.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/3.946, allocations: 17.58 kB / 1.729 GB, free: 103.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007692/3.947, allocations: 75.47 kB / 1.729 GB, free: 103.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/3.947, allocations: 42.58 kB / 1.729 GB, free: 103.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.59e-05/3.947, allocations: 35.5 kB / 1.729 GB, free: 103.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001631/3.949, allocations: 0.8292 MB / 1.73 GB, free: 103.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.9e-07/3.949, allocations: 0 / 1.73 GB, free: 103.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002351/3.951, allocations: 0.7066 MB / 1.731 GB, free: 103.6 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.001371/3.953, allocations: 0.6186 MB / 1.731 GB, free: 103.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002224/3.955, allocations: 0.9862 MB / 1.732 GB, free: 103.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.393e-06/3.955, allocations: 3.125 kB / 1.732 GB, free: 103.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006068/3.955, allocations: 333.6 kB / 1.733 GB, free: 103.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003576/3.959, allocations: 0.727 MB / 1.733 GB, free: 103.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/3.962, allocations: 2.02 MB / 1.735 GB, free: 103 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007428/3.963, allocations: 1.372 MB / 1.737 GB, free: 102.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002164/3.965, allocations: 0.6548 MB / 1.737 GB, free: 102.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/3.966, allocations: 86.77 kB / 1.737 GB, free: 102.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.122e-06/3.966, allocations: 0 / 1.737 GB, free: 102.2 MB / 0.698 GB Notification: Performance of Templates: time 0.04778/4.013, allocations: 31.19 MB / 1.768 GB, free: 101.5 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)