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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007694/0.0007694, allocations: 86.41 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008586/0.0008591, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001665/0.001665, allocations: 270.7 kB / 291.3 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9611/0.9611, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005407/0.0005408, allocations: 12.66 kB / 0.598 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1994, allocations: 88.55 MB / 0.6845 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.Pipe): time 0.04011/0.2396, allocations: 42.83 MB / 0.7263 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0159/0.2555, allocations: 11.12 MB / 0.7371 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002392/0.258, allocations: 63.62 kB / 0.7372 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.2597, allocations: 0.4928 MB / 0.7377 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005328/0.265, allocations: 1.857 MB / 0.7395 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003806/0.2689, allocations: 1.13 MB / 0.7406 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006386/0.2753, allocations: 4.804 MB / 0.7453 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001908/0.2772, allocations: 1.134 MB / 0.7464 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00259/0.2798, allocations: 1.241 MB / 0.7476 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/0.2813, allocations: 1.046 MB / 0.7486 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.2815, allocations: 60 kB / 0.7487 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002621/0.2841, allocations: 1.056 MB / 0.7497 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003044/0.2845, allocations: 278.8 kB / 0.75 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004747/0.2849, allocations: 340.9 kB / 0.7503 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.2873, allocations: 2.05 MB / 0.7523 GB, free: 9.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.2873, allocations: 4 kB / 0.7523 GB, free: 9.836 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2873, allocations: 0 / 0.7523 GB, free: 9.836 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.2874, allocations: 4 kB / 0.7523 GB, free: 9.832 MB / 0.545 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.003172/0.2905, allocations: 1.787 MB / 0.7541 GB, free: 7.988 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2906, allocations: 12.03 kB / 0.7541 GB, free: 7.977 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000357/0.2909, allocations: 178 kB / 0.7543 GB, free: 7.801 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003338/0.2943, allocations: 1.988 MB / 0.7562 GB, free: 5.758 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.2944, allocations: 95.7 kB / 0.7563 GB, free: 5.656 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.2946, allocations: 92 kB / 0.7564 GB, free: 5.566 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.2964, allocations: 1.182 MB / 0.7575 GB, free: 4.352 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.2965, allocations: 3.938 kB / 0.7575 GB, free: 4.348 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.221e-05/0.2966, allocations: 40 kB / 0.7576 GB, free: 4.309 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-05/0.2966, allocations: 24 kB / 0.7576 GB, free: 4.285 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/0.2981, allocations: 0.9133 MB / 0.7585 GB, free: 3.367 MB / 0.545 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.005431/0.3036, allocations: 4.68 MB / 0.7631 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008808/0.3045, allocations: 0.5214 MB / 0.7636 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005087/0.305, allocations: 317 kB / 0.7639 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008773/0.3059, allocations: 0.9232 MB / 0.7648 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.3059, allocations: 39.12 kB / 0.7648 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=56): time 2.374e-06/0.306, allocations: 0 / 0.7648 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56): time 0.001665/0.3076, allocations: 0.8682 MB / 0.7657 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.3077, allocations: 55.97 kB / 0.7657 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.3092, allocations: 1.204 MB / 0.7669 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.904e-05/0.3093, allocations: 37.7 kB / 0.7669 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004923/0.3098, allocations: 0.6062 MB / 0.7675 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.31, allocations: 205.1 kB / 0.7677 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.31, allocations: 12 kB / 0.7677 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3101, allocations: 334 kB / 0.768 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/0.3106, allocations: 241.2 kB / 0.7683 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005519/0.3111, allocations: 426.3 kB / 0.7687 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005317/0.3117, allocations: 314 kB / 0.769 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.3117, allocations: 4 kB / 0.769 GB, free: 8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001345/0.313, allocations: 0.8061 MB / 0.7698 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.3132, allocations: 211.2 kB / 0.77 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.3132, allocations: 4 kB / 0.77 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.3132, allocations: 11.98 kB / 0.77 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00086/0.3141, allocations: 191.6 kB / 0.7702 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006444/0.3148, allocations: 1.184 MB / 0.7713 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008219/0.3156, allocations: 119.3 kB / 0.7714 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.719e-05/0.3157, allocations: 24 kB / 0.7715 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.3157, allocations: 4 kB / 0.7715 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001145/0.3168, allocations: 0.6691 MB / 0.7721 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3169, allocations: 4 kB / 0.7721 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.3169, allocations: 8 kB / 0.7721 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005449/0.3174, allocations: 159.7 kB / 0.7723 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.3174, allocations: 7.984 kB / 0.7723 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007198/0.3182, allocations: 103.5 kB / 0.7724 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/0.3182, allocations: 31.98 kB / 0.7724 GB, free: 4.371 MB / 0.5606 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 () * Number of clocked 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.000717/0.319, allocations: 0.4968 MB / 0.7729 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.3192, allocations: 134.4 kB / 0.773 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.3207, allocations: 0.8665 MB / 0.7739 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.3208, allocations: 7.984 kB / 0.7739 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.3208, allocations: 4 kB / 0.7739 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001021/0.3218, allocations: 0.6931 MB / 0.7746 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/0.3249, allocations: 1.961 MB / 0.7765 GB, free: 100 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.3249, allocations: 4.094 kB / 0.7765 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3146/0.6395, allocations: 141.6 kB / 0.7766 GB, free: 91.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-05/0.6395, allocations: 3.094 kB / 0.7766 GB, free: 91.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.6396, allocations: 20.25 kB / 0.7766 GB, free: 91.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000432/0.6401, allocations: 1.181 MB / 0.7778 GB, free: 90.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.6401, allocations: 6.656 kB / 0.7778 GB, free: 90.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/0.6425, allocations: 1.214 MB / 0.779 GB, free: 90.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006686/0.6432, allocations: 312.5 kB / 0.7793 GB, free: 90.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.6433, allocations: 17.02 kB / 0.7793 GB, free: 90.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007072/0.6441, allocations: 85.09 kB / 0.7794 GB, free: 90.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.893e-05/0.6442, allocations: 42 kB / 0.7794 GB, free: 90.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.249e-05/0.6443, allocations: 37.67 kB / 0.7795 GB, free: 90.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001399/0.6457, allocations: 0.8434 MB / 0.7803 GB, free: 90.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6457, allocations: 0.75 kB / 0.7803 GB, free: 90.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001852/0.6475, allocations: 0.7 MB / 0.781 GB, free: 90.39 MB / 0.5606 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 () * Number of clocked 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.0008673/0.6484, allocations: 444.2 kB / 0.7814 GB, free: 90.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002178/0.6506, allocations: 1.036 MB / 0.7824 GB, free: 90.01 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.6506, allocations: 1.719 kB / 0.7824 GB, free: 90.01 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006606/0.6513, allocations: 356.3 kB / 0.7827 GB, free: 89.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003244/0.6545, allocations: 0.7438 MB / 0.7835 GB, free: 89.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00439/0.6589, allocations: 3.079 MB / 0.7865 GB, free: 88.21 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007024/0.6597, allocations: 1.345 MB / 0.7878 GB, free: 87.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001511/0.6612, allocations: 445.1 kB / 0.7882 GB, free: 87.33 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/0.6614, allocations: 111.4 kB / 0.7883 GB, free: 87.32 MB / 0.5606 GB Notification: Performance of SimCode: time 8.12e-07/0.6614, allocations: 0 / 0.7883 GB, free: 87.32 MB / 0.5606 GB Notification: Performance of Templates: time 0.04733/0.7088, allocations: 26.6 MB / 0.8143 GB, free: 76.85 MB / 0.5606 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)