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.0007833/0.0007833, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005129/0.00513, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001748/0.001747, allocations: 266.5 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9449/0.9449, allocations: 169.5 MB / 0.5004 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004232/0.0004232, allocations: 12 kB / 0.5986 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1525, allocations: 88.56 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.Pipe): time 0.04199/0.1946, allocations: 45.28 MB / 0.7293 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0156/0.2102, allocations: 11.79 MB / 0.7408 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/0.2121, allocations: 55.69 kB / 0.7409 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001586/0.2137, allocations: 0.5865 MB / 0.7415 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005296/0.219, allocations: 2.149 MB / 0.7436 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003353/0.2223, allocations: 1.388 MB / 0.7449 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006295/0.2286, allocations: 5.561 MB / 0.7504 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001888/0.2306, allocations: 1.296 MB / 0.7516 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002567/0.2331, allocations: 1.291 MB / 0.7529 GB, free: 9.445 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.2346, allocations: 1.108 MB / 0.754 GB, free: 8.332 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.2347, allocations: 63.94 kB / 0.754 GB, free: 8.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002766/0.2375, allocations: 1.384 MB / 0.7554 GB, free: 6.883 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003078/0.2378, allocations: 282.7 kB / 0.7556 GB, free: 6.605 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008766/0.2387, allocations: 0.7945 MB / 0.7564 GB, free: 5.801 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003347/0.2421, allocations: 2.726 MB / 0.7591 GB, free: 3.066 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.2421, allocations: 0 / 0.7591 GB, free: 3.066 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2421, allocations: 0 / 0.7591 GB, free: 3.066 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.896e-05/0.2421, allocations: 4 kB / 0.7591 GB, free: 3.062 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.003422/0.2456, allocations: 1.78 MB / 0.7608 GB, free: 1.227 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2456, allocations: 12.03 kB / 0.7608 GB, free: 1.215 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004031/0.246, allocations: 178.7 kB / 0.761 GB, free: 1.039 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3104/0.5564, allocations: 2.027 MB / 0.763 GB, free: 78.01 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.5566, allocations: 101.5 kB / 0.7631 GB, free: 77.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.5568, allocations: 94.14 kB / 0.7632 GB, free: 77.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002768/0.5596, allocations: 1.179 MB / 0.7643 GB, free: 77.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.335e-05/0.5596, allocations: 2 kB / 0.7643 GB, free: 77.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.5598, allocations: 37 kB / 0.7644 GB, free: 77.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.247e-05/0.5598, allocations: 30.38 kB / 0.7644 GB, free: 77.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.5617, allocations: 0.921 MB / 0.7653 GB, free: 77.64 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.005244/0.5669, allocations: 4.676 MB / 0.7699 GB, free: 74.53 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008745/0.5678, allocations: 0.5258 MB / 0.7704 GB, free: 74.33 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004793/0.5683, allocations: 319.6 kB / 0.7707 GB, free: 74.22 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006358/0.5689, allocations: 0.9225 MB / 0.7716 GB, free: 73.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.569, allocations: 46.92 kB / 0.7716 GB, free: 73.13 MB / 0.545 GB Notification: Performance of pre-optimization done (n=56): time 2.204e-06/0.569, allocations: 0 / 0.7716 GB, free: 73.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=56): time 0.001783/0.5708, allocations: 0.8622 MB / 0.7725 GB, free: 72.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.5708, allocations: 57.47 kB / 0.7725 GB, free: 72.74 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/0.5724, allocations: 1.218 MB / 0.7737 GB, free: 72.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/0.5724, allocations: 41.52 kB / 0.7738 GB, free: 72.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003788/0.5728, allocations: 0.6075 MB / 0.7743 GB, free: 71.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.573, allocations: 206.4 kB / 0.7745 GB, free: 71.62 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-05/0.573, allocations: 55.39 kB / 0.7746 GB, free: 71.58 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.994e-05/0.5731, allocations: 334.4 kB / 0.7749 GB, free: 71.27 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004538/0.5736, allocations: 244.1 kB / 0.7751 GB, free: 71.19 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000493/0.5741, allocations: 432.8 kB / 0.7756 GB, free: 70.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009049/0.575, allocations: 0.6595 MB / 0.7762 GB, free: 70.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.575, allocations: 2.562 kB / 0.7762 GB, free: 70.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001283/0.5763, allocations: 0.8213 MB / 0.777 GB, free: 70.22 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.013e-05/0.5764, allocations: 207.2 kB / 0.7772 GB, free: 69.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.5764, allocations: 3.531 kB / 0.7772 GB, free: 69.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.5764, allocations: 10.5 kB / 0.7772 GB, free: 69.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008756/0.5773, allocations: 186.4 kB / 0.7774 GB, free: 69.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004625/0.5778, allocations: 1.189 MB / 0.7786 GB, free: 68.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009152/0.5787, allocations: 116.6 kB / 0.7787 GB, free: 68.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.268e-05/0.5788, allocations: 34 kB / 0.7787 GB, free: 68.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.607e-06/0.5788, allocations: 4.656 kB / 0.7787 GB, free: 68.73 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001168/0.58, allocations: 0.6698 MB / 0.7794 GB, free: 68.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.58, allocations: 3.625 kB / 0.7794 GB, free: 68.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.58, allocations: 10.75 kB / 0.7794 GB, free: 68.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005542/0.5805, allocations: 158.8 kB / 0.7795 GB, free: 68.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.5806, allocations: 15.97 kB / 0.7795 GB, free: 68.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007664/0.5813, allocations: 101.6 kB / 0.7796 GB, free: 68.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.986e-05/0.5814, allocations: 32.55 kB / 0.7797 GB, free: 68.42 MB / 0.545 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006891/0.5821, allocations: 0.4925 MB / 0.7801 GB, free: 68.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.5823, allocations: 128.5 kB / 0.7803 GB, free: 68.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.5838, allocations: 0.8675 MB / 0.7811 GB, free: 67.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.5839, allocations: 10.5 kB / 0.7811 GB, free: 67.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.5839, allocations: 0 / 0.7811 GB, free: 67.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001005/0.5849, allocations: 0.7027 MB / 0.7818 GB, free: 67.37 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003202/0.5881, allocations: 1.964 MB / 0.7837 GB, free: 66.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.5881, allocations: 1.266 kB / 0.7837 GB, free: 66.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006225/0.5887, allocations: 141.2 kB / 0.7839 GB, free: 66.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.5888, allocations: 7.375 kB / 0.7839 GB, free: 66.44 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-05/0.5888, allocations: 19.88 kB / 0.7839 GB, free: 66.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004427/0.5893, allocations: 1.178 MB / 0.785 GB, free: 65.24 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5893, allocations: 4.375 kB / 0.785 GB, free: 65.24 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.5912, allocations: 1.222 MB / 0.7862 GB, free: 64.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004771/0.5917, allocations: 320.2 kB / 0.7865 GB, free: 64.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.5918, allocations: 12.2 kB / 0.7866 GB, free: 64.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000734/0.5926, allocations: 85.89 kB / 0.7866 GB, free: 64.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.5927, allocations: 39.66 kB / 0.7867 GB, free: 64.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.244e-05/0.5927, allocations: 27.3 kB / 0.7867 GB, free: 64.42 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001156/0.5939, allocations: 0.8613 MB / 0.7875 GB, free: 64.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5939, allocations: 0 / 0.7875 GB, free: 64.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001775/0.5957, allocations: 0.7092 MB / 0.7882 GB, free: 63.96 MB / 0.545 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009665/0.5967, allocations: 462 kB / 0.7887 GB, free: 63.81 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002424/0.5991, allocations: 1.04 MB / 0.7897 GB, free: 63.49 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5991, allocations: 5.234 kB / 0.7897 GB, free: 63.49 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006452/0.5998, allocations: 355.4 kB / 0.79 GB, free: 63.39 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003557/0.6033, allocations: 0.7371 MB / 0.7908 GB, free: 63.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.6068, allocations: 3.135 MB / 0.7938 GB, free: 60.97 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006912/0.6075, allocations: 1.345 MB / 0.7951 GB, free: 59.96 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001485/0.609, allocations: 448.3 kB / 0.7956 GB, free: 59.76 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.6093, allocations: 113.9 kB / 0.7957 GB, free: 59.73 MB / 0.545 GB Notification: Performance of SimCode: time 7.11e-07/0.6093, allocations: 0 / 0.7957 GB, free: 59.73 MB / 0.545 GB Notification: Performance of Templates: time 0.03901/0.6483, allocations: 27.31 MB / 0.8223 GB, free: 38.11 MB / 0.545 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)