Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Annex60.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01045/0.01045, allocations: 97.19 kB / 15.73 MB, free: 6.059 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.002257/0.002257, allocations: 197.1 kB / 16.68 MB, free: 5.969 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.72/1.72, allocations: 205.1 MB / 222.6 MB, free: 4.227 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4668/0.4668, allocations: 54.94 MB / 324.8 MB, free: 276 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.001481/0.001481, allocations: 66.48 kB / 456.2 MB, free: 38.37 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1685, allocations: 59.59 MB / 0.5037 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.PressureDrop): time 0.6419/0.8105, allocations: 161.5 MB / 0.6614 GB, free: 204 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003218/0.8138, allocations: 1.549 MB / 0.6629 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003062/0.8141, allocations: 8.969 kB / 0.6629 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009182/0.8151, allocations: 247.6 kB / 0.6632 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.8163, allocations: 408.3 kB / 0.6636 GB, free: 108 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.8175, allocations: 439.1 kB / 0.664 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001522/0.819, allocations: 0.8945 MB / 0.6649 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004368/0.8195, allocations: 257.4 kB / 0.6651 GB, free: 72 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.8206, allocations: 0.5047 MB / 0.6656 GB, free: 64 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003687/0.821, allocations: 260.5 kB / 0.6658 GB, free: 60 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.471e-05/0.8211, allocations: 29.34 kB / 0.6659 GB, free: 60 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007586/0.8219, allocations: 490.5 kB / 0.6663 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.822, allocations: 153.8 kB / 0.6665 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002465/0.8223, allocations: 208.1 kB / 0.6667 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008869/0.8232, allocations: 0.6503 MB / 0.6673 GB, free: 16 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.8232, allocations: 3 kB / 0.6673 GB, free: 16 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.725e-06/0.8232, allocations: 0 / 0.6673 GB, free: 16 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.8232, allocations: 5.141 kB / 0.6673 GB, free: 12 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001323/0.8246, allocations: 0.7115 MB / 0.668 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.8246, allocations: 8.281 kB / 0.668 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002866/0.8249, allocations: 55.33 kB / 0.6681 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/0.8254, allocations: 345.1 kB / 0.6684 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.8254, allocations: 21.62 kB / 0.6684 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.8254, allocations: 25.59 kB / 0.6685 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009914/0.8264, allocations: 376.7 kB / 0.6688 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.8265, allocations: 0 / 0.6688 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.8265, allocations: 15.78 kB / 0.6688 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.8265, allocations: 5.594 kB / 0.6688 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008411/0.8274, allocations: 319.5 kB / 0.6691 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.829, allocations: 1.078 MB / 0.6702 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000624/0.8297, allocations: 183.9 kB / 0.6704 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.8298, allocations: 73.39 kB / 0.6704 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.8299, allocations: 1.203 kB / 0.6704 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.8299, allocations: 40.91 kB / 0.6705 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.8299, allocations: 0 / 0.6705 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001398/0.8313, allocations: 364.8 kB / 0.6708 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.8314, allocations: 57.58 kB / 0.6709 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003945/0.8318, allocations: 374.9 kB / 0.6712 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.8318, allocations: 31.89 kB / 0.6713 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.832, allocations: 203 kB / 0.6715 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.832, allocations: 41.56 kB / 0.6715 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.102e-05/0.8321, allocations: 39.81 kB / 0.6715 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.8322, allocations: 345.6 kB / 0.6719 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.8325, allocations: 91.56 kB / 0.672 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003057/0.8328, allocations: 162.6 kB / 0.6721 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005283/0.8334, allocations: 227.7 kB / 0.6723 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.8334, allocations: 6.406 kB / 0.6723 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006466/0.834, allocations: 287.2 kB / 0.6726 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.8341, allocations: 5.594 kB / 0.6726 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.8341, allocations: 6.906 kB / 0.6726 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.8341, allocations: 3.297 kB / 0.6726 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.8344, allocations: 48.66 kB / 0.6727 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.8344, allocations: 5.344 kB / 0.6727 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.8347, allocations: 48.25 kB / 0.6727 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.8348, allocations: 7.484 kB / 0.6727 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002378/0.835, allocations: 193.4 kB / 0.6729 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001719/0.8352, allocations: 119.2 kB / 0.673 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002888/0.8355, allocations: 179.6 kB / 0.6732 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.975e-06/0.8355, allocations: 3.938 kB / 0.6732 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0004216/0.8359, allocations: 232.8 kB / 0.6734 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.8359, allocations: 4.781 kB / 0.6734 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.8359, allocations: 3 kB / 0.6734 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.548e-06/0.836, allocations: 3.469 kB / 0.6734 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.8361, allocations: 41.89 kB / 0.6735 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.8361, allocations: 2.562 kB / 0.6735 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.8364, allocations: 17.75 kB / 0.6735 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.8364, allocations: 7.719 kB / 0.6735 GB, free: 13.31 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 (19): * Single equations (assignments): 19 * 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.0001757/0.8366, allocations: 201.4 kB / 0.6737 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.046e-05/0.8366, allocations: 33.94 kB / 0.6737 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.487e-05/0.8367, allocations: 35.08 kB / 0.6738 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.8367, allocations: 2.094 kB / 0.6738 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.8368, allocations: 1.203 kB / 0.6738 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.8368, allocations: 0 / 0.6738 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.838, allocations: 0.7097 MB / 0.6745 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.838, allocations: 4.828 kB / 0.6745 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.8382, allocations: 39.97 kB / 0.6745 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.8383, allocations: 3.219 kB / 0.6745 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.8383, allocations: 9.719 kB / 0.6745 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.8383, allocations: 5.219 kB / 0.6745 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.8383, allocations: 6.188 kB / 0.6745 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006421/0.8389, allocations: 365.3 kB / 0.6749 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.8391, allocations: 146.5 kB / 0.675 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.144e-05/0.8392, allocations: 10.16 kB / 0.675 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.8395, allocations: 34.41 kB / 0.6751 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.8396, allocations: 10.25 kB / 0.6751 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-05/0.8397, allocations: 17.09 kB / 0.6751 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002621/0.8399, allocations: 271 kB / 0.6753 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8399, allocations: 0 / 0.6753 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005554/0.8405, allocations: 155 kB / 0.6755 GB, free: 12.32 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 (11): * Single equations (assignments): 11 * 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.0004112/0.8409, allocations: 141.7 kB / 0.6756 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008211/0.8417, allocations: 300.1 kB / 0.6759 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8418, allocations: 0 / 0.6759 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.842, allocations: 102.1 kB / 0.676 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009963/0.8431, allocations: 191.6 kB / 0.6762 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.8442, allocations: 0.5964 MB / 0.6768 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.8446, allocations: 0.7904 MB / 0.6775 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000303/0.8449, allocations: 83.45 kB / 0.6776 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.344e-05/0.845, allocations: 34.27 kB / 0.6777 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.845, allocations: 0 / 0.6777 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of Templates: time 0.0133/0.8583, allocations: 7.056 MB / 0.6845 GB, free: 10.19 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)