Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005776/0.005776, allocations: 103.2 kB / 15.74 MB, free: 6.066 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.001228/0.001228, allocations: 197 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.243/1.243, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3762/0.3762, allocations: 54.95 MB / 324.8 MB, free: 28 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 71.98 kB / 456.2 MB, free: 38.44 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1052, allocations: 59.58 MB / 0.5037 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.4336/0.5388, allocations: 161.7 MB / 0.6616 GB, free: 188 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003303/0.5422, allocations: 2.226 MB / 0.6638 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003865/0.5426, allocations: 13.69 kB / 0.6638 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007747/0.5434, allocations: 244.8 kB / 0.6641 GB, free: 112 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.5447, allocations: 0.5992 MB / 0.6647 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.5458, allocations: 452.1 kB / 0.6651 GB, free: 60 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001353/0.5472, allocations: 1.06 MB / 0.6661 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003442/0.5475, allocations: 277.5 kB / 0.6664 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008835/0.5484, allocations: 0.5543 MB / 0.6669 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003043/0.5487, allocations: 279.3 kB / 0.6672 GB, free: 8 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.963e-05/0.5488, allocations: 32.62 kB / 0.6672 GB, free: 8 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008451/0.5496, allocations: 0.602 MB / 0.6678 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.5498, allocations: 160.1 kB / 0.668 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.55, allocations: 229.2 kB / 0.6682 GB, free: 0 / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008917/0.5509, allocations: 0.7985 MB / 0.669 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5509, allocations: 0 / 0.669 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5509, allocations: 0 / 0.669 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.5509, allocations: 0 / 0.669 GB, free: 15.95 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001148/0.5521, allocations: 0.7763 MB / 0.6697 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.5521, allocations: 8.094 kB / 0.6697 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.5524, allocations: 56.12 kB / 0.6698 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.5528, allocations: 374.6 kB / 0.6701 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.5528, allocations: 18.25 kB / 0.6702 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.5529, allocations: 30.11 kB / 0.6702 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009586/0.5538, allocations: 393.4 kB / 0.6706 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.5539, allocations: 0 / 0.6706 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.5539, allocations: 13.16 kB / 0.6706 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.5539, allocations: 6 kB / 0.6706 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008844/0.5548, allocations: 333.9 kB / 0.6709 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.5562, allocations: 1.091 MB / 0.672 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006781/0.5569, allocations: 199.1 kB / 0.6722 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.5571, allocations: 68.09 kB / 0.6722 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.5571, allocations: 4.781 kB / 0.6722 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.5571, allocations: 36.91 kB / 0.6723 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.5571, allocations: 1.203 kB / 0.6723 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.001425/0.5586, allocations: 401.9 kB / 0.6726 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.5586, allocations: 51.41 kB / 0.6727 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003381/0.559, allocations: 412.1 kB / 0.6731 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.559, allocations: 31.27 kB / 0.6731 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.5591, allocations: 210.6 kB / 0.6733 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.5592, allocations: 46.44 kB / 0.6734 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.776e-05/0.5593, allocations: 40.31 kB / 0.6734 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.5594, allocations: 350.2 kB / 0.6737 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.5597, allocations: 97.97 kB / 0.6738 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/0.5599, allocations: 151.1 kB / 0.674 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005195/0.5605, allocations: 232.6 kB / 0.6742 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5605, allocations: 2.562 kB / 0.6742 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006131/0.5611, allocations: 292.4 kB / 0.6745 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.5611, allocations: 14.5 kB / 0.6745 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5611, allocations: 0 / 0.6745 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.5612, allocations: 2.094 kB / 0.6745 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.5614, allocations: 53.12 kB / 0.6745 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.5614, allocations: 4.969 kB / 0.6745 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.5617, allocations: 47.73 kB / 0.6746 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.5617, allocations: 8.969 kB / 0.6746 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002138/0.5619, allocations: 195.4 kB / 0.6748 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001563/0.5621, allocations: 117.5 kB / 0.6749 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002618/0.5624, allocations: 182.4 kB / 0.6751 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.472e-06/0.5624, allocations: 2.344 kB / 0.6751 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003605/0.5628, allocations: 240.4 kB / 0.6753 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.352e-06/0.5628, allocations: 6.156 kB / 0.6753 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.5628, allocations: 3.906 kB / 0.6753 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-06/0.5628, allocations: 2.688 kB / 0.6753 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.5629, allocations: 44.91 kB / 0.6754 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.5629, allocations: 3.547 kB / 0.6754 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.5631, allocations: 22.3 kB / 0.6754 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.5632, allocations: 6.562 kB / 0.6754 GB, free: 13.21 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.5633, allocations: 194.8 kB / 0.6756 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-05/0.5634, allocations: 39.08 kB / 0.6756 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.615e-05/0.5634, allocations: 44.66 kB / 0.6757 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5634, allocations: 2.375 kB / 0.6757 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5635, allocations: 0 / 0.6757 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5635, allocations: 0 / 0.6757 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.5645, allocations: 0.7281 MB / 0.6764 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.5645, allocations: 2 kB / 0.6764 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.5647, allocations: 45.27 kB / 0.6764 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.5648, allocations: 4.188 kB / 0.6764 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.5648, allocations: 8.359 kB / 0.6764 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.5648, allocations: 2.625 kB / 0.6764 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.5648, allocations: 6.062 kB / 0.6764 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006182/0.5654, allocations: 377.2 kB / 0.6768 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.5656, allocations: 153.9 kB / 0.6769 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.5656, allocations: 2.281 kB / 0.6769 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/0.566, allocations: 33.88 kB / 0.677 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.566, allocations: 14.67 kB / 0.677 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/0.5661, allocations: 15.62 kB / 0.677 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002413/0.5663, allocations: 291 kB / 0.6773 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5663, allocations: 0 / 0.6773 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005367/0.5669, allocations: 201.5 kB / 0.6775 GB, free: 12.2 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003656/0.5672, allocations: 193.4 kB / 0.6777 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007267/0.568, allocations: 301.7 kB / 0.6779 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.568, allocations: 1.812 kB / 0.6779 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.5682, allocations: 96.41 kB / 0.678 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009694/0.5692, allocations: 218.9 kB / 0.6782 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009061/0.5701, allocations: 0.6622 MB / 0.6789 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.5705, allocations: 0.801 MB / 0.6797 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002877/0.5708, allocations: 104.4 kB / 0.6798 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.549e-05/0.5708, allocations: 39.94 kB / 0.6798 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of SimCode: time 2.01e-07/0.5708, allocations: 0 / 0.6798 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of Templates: time 0.01185/0.5827, allocations: 8.223 MB / 0.6878 GB, free: 9.059 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)