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.001094/0.001094, allocations: 102 kB / 16.27 MB, free: 5.859 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.001116/0.001116, allocations: 185.3 kB / 17.19 MB, free: 5.508 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.313/1.313, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002328/0.002328, allocations: 278.9 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.95/0.95, allocations: 169.3 MB / 0.4988 GB, free: 4.516 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.00182, allocations: 94.22 kB / 0.5959 GB, free: 15.17 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1694, allocations: 86.98 MB / 0.6808 GB, free: 8.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.Pipe): time 0.3203/0.4898, allocations: 46.51 MB / 0.7262 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0189/0.5087, allocations: 11.85 MB / 0.7378 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002941/0.5117, allocations: 64.78 kB / 0.7379 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002392/0.5141, allocations: 0.7108 MB / 0.7386 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007346/0.5215, allocations: 2.348 MB / 0.7409 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004484/0.526, allocations: 1.503 MB / 0.7423 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006347/0.5324, allocations: 4.388 MB / 0.7466 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002607/0.535, allocations: 1.577 MB / 0.7482 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00427/0.5393, allocations: 1.584 MB / 0.7497 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002451/0.5418, allocations: 1.179 MB / 0.7509 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005707/0.5423, allocations: 149 kB / 0.751 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004046/0.5464, allocations: 1.493 MB / 0.7525 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006474/0.5471, allocations: 392.7 kB / 0.7528 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001946/0.549, allocations: 0.8756 MB / 0.7537 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005224/0.5542, allocations: 2.832 MB / 0.7565 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5543, allocations: 0 / 0.7565 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5543, allocations: 2.719 kB / 0.7565 GB, free: 184 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.871e-05/0.5544, allocations: 4 kB / 0.7565 GB, free: 180 kB / 0.5137 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.005777/0.5601, allocations: 2.066 MB / 0.7585 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.5602, allocations: 9.688 kB / 0.7585 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007496/0.561, allocations: 173.5 kB / 0.7587 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004264/0.5652, allocations: 2.012 MB / 0.7606 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.5654, allocations: 100 kB / 0.7607 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/0.5656, allocations: 87.88 kB / 0.7608 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.5679, allocations: 1.18 MB / 0.762 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.5679, allocations: 4 kB / 0.762 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.568, allocations: 36 kB / 0.762 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.049e-05/0.5681, allocations: 24 kB / 0.762 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.5698, allocations: 0.9055 MB / 0.7629 GB, free: 11.22 MB / 0.5294 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.006785/0.5766, allocations: 4.711 MB / 0.7675 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009334/0.5776, allocations: 0.5255 MB / 0.768 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005026/0.5781, allocations: 311.6 kB / 0.7683 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008503/0.579, allocations: 0.9226 MB / 0.7692 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.579, allocations: 47.11 kB / 0.7693 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=56): time 3.607e-06/0.579, allocations: 0 / 0.7693 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of matching and sorting (n=56): time 0.001856/0.5809, allocations: 0.8448 MB / 0.7701 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.5809, allocations: 59.95 kB / 0.7701 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/0.5828, allocations: 1.243 MB / 0.7713 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.293e-05/0.5828, allocations: 41.7 kB / 0.7714 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005567/0.5834, allocations: 0.6024 MB / 0.772 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.5836, allocations: 197 kB / 0.7722 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.5838, allocations: 134.2 kB / 0.7723 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.584, allocations: 330 kB / 0.7726 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/0.5845, allocations: 255.2 kB / 0.7729 GB, free: 480 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006328/0.5851, allocations: 422.4 kB / 0.7733 GB, free: 15.99 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.5862, allocations: 0.6506 MB / 0.7739 GB, free: 15.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.5862, allocations: 0 / 0.7739 GB, free: 15.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001569/0.5877, allocations: 0.8134 MB / 0.7747 GB, free: 14.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.5878, allocations: 11.94 kB / 0.7747 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.5878, allocations: 4 kB / 0.7747 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.5878, allocations: 8 kB / 0.7747 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008912/0.5887, allocations: 180.4 kB / 0.7749 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006537/0.5894, allocations: 1.187 MB / 0.776 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008894/0.5903, allocations: 87.38 kB / 0.7761 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.5904, allocations: 35.92 kB / 0.7762 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009425/0.5913, allocations: 0.5948 MB / 0.7767 GB, free: 12.31 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005883/0.5919, allocations: 413.8 kB / 0.7771 GB, free: 11.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001032/0.593, allocations: 0.6545 MB / 0.7778 GB, free: 11.13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.57e-06/0.593, allocations: 8 kB / 0.7778 GB, free: 11.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001524/0.5945, allocations: 0.7905 MB / 0.7785 GB, free: 10.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.5945, allocations: 15.98 kB / 0.7786 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.5945, allocations: 11.94 kB / 0.7786 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.5946, allocations: 4 kB / 0.7786 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/0.5951, allocations: 163.7 kB / 0.7787 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.5951, allocations: 4 kB / 0.7787 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008331/0.596, allocations: 55.56 kB / 0.7788 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-05/0.5961, allocations: 32 kB / 0.7788 GB, free: 10.04 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.0002355/0.5963, allocations: 224 kB / 0.779 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003476/0.5966, allocations: 138.3 kB / 0.7792 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.5983, allocations: 0.8548 MB / 0.78 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.5983, allocations: 8 kB / 0.78 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5983, allocations: 4 kB / 0.78 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001049/0.5994, allocations: 0.6892 MB / 0.7807 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003368/0.6028, allocations: 1.957 MB / 0.7826 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.6028, allocations: 4.094 kB / 0.7826 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005997/0.6034, allocations: 135.8 kB / 0.7827 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/0.6034, allocations: 4 kB / 0.7827 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.076e-05/0.6035, allocations: 23.98 kB / 0.7828 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005449/0.604, allocations: 1.176 MB / 0.7839 GB, free: 4.676 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.604, allocations: 0 / 0.7839 GB, free: 4.676 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.606, allocations: 1.218 MB / 0.7851 GB, free: 3.438 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005402/0.6065, allocations: 291.4 kB / 0.7854 GB, free: 3.133 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002683/0.6068, allocations: 12 kB / 0.7854 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007707/0.6076, allocations: 47.75 kB / 0.7854 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.637e-05/0.6077, allocations: 40.5 kB / 0.7855 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-05/0.6078, allocations: 27.97 kB / 0.7855 GB, free: 3.004 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001317/0.6091, allocations: 0.8797 MB / 0.7864 GB, free: 2.121 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6091, allocations: 0 / 0.7864 GB, free: 2.121 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002134/0.6113, allocations: 0.7133 MB / 0.7871 GB, free: 1.406 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.001185/0.6124, allocations: 479.3 kB / 0.7875 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002602/0.6151, allocations: 1.14 MB / 0.7886 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.6151, allocations: 0 / 0.7886 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006638/0.6157, allocations: 360 kB / 0.789 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004044/0.6198, allocations: 0.7761 MB / 0.7897 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004878/0.6247, allocations: 2.523 MB / 0.7922 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009508/0.6257, allocations: 1.293 MB / 0.7935 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/0.626, allocations: 123.4 kB / 0.7936 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/0.6261, allocations: 0 / 0.7936 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of Templates: time 0.04695/0.673, allocations: 38.18 MB / 0.8309 GB, free: 4.727 MB / 0.5919 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)