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.001664/0.001664, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002006/0.002007, allocations: 193.2 kB / 16.25 MB, free: 6.617 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.673/1.673, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4095/0.4095, allocations: 54.93 MB / 324.4 MB, free: 172 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.001494/0.001494, allocations: 59.91 kB / 394.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1461, allocations: 59.59 MB / 454.4 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.PressureDrop): time 0.4475/0.5937, allocations: 159.3 MB / 0.5993 GB, free: 8.516 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002941/0.5967, allocations: 1.54 MB / 0.6008 GB, free: 6.973 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004669/0.5972, allocations: 7.938 kB / 0.6008 GB, free: 6.965 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009138/0.5982, allocations: 214.9 kB / 0.6011 GB, free: 6.754 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.5995, allocations: 395.3 kB / 0.6014 GB, free: 6.367 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.6007, allocations: 402.9 kB / 0.6018 GB, free: 5.977 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001175/0.6019, allocations: 0.8934 MB / 0.6027 GB, free: 5.082 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003501/0.6022, allocations: 248.8 kB / 0.6029 GB, free: 4.848 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009256/0.6032, allocations: 0.5059 MB / 0.6034 GB, free: 4.34 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003225/0.6035, allocations: 278.9 kB / 0.6037 GB, free: 4.066 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.048e-05/0.6036, allocations: 28 kB / 0.6037 GB, free: 4.039 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006826/0.6043, allocations: 495.2 kB / 0.6042 GB, free: 3.555 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.6044, allocations: 155.6 kB / 0.6043 GB, free: 3.402 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.6046, allocations: 207.1 kB / 0.6045 GB, free: 3.199 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007332/0.6054, allocations: 0.6505 MB / 0.6052 GB, free: 2.547 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.6054, allocations: 0 / 0.6052 GB, free: 2.547 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.6054, allocations: 1.406 kB / 0.6052 GB, free: 2.547 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.6054, allocations: 3.938 kB / 0.6052 GB, free: 2.543 MB / 478.1 MB 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.001094/0.6065, allocations: 0.7023 MB / 0.6059 GB, free: 1.797 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.6066, allocations: 12.03 kB / 0.6059 GB, free: 1.785 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/0.6068, allocations: 47.53 kB / 0.6059 GB, free: 1.738 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.6072, allocations: 329.1 kB / 0.6062 GB, free: 1.379 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.6072, allocations: 24.55 kB / 0.6062 GB, free: 1.355 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.6073, allocations: 28 kB / 0.6063 GB, free: 1.328 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.6083, allocations: 376.7 kB / 0.6066 GB, free: 0.957 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.6083, allocations: 0 / 0.6066 GB, free: 0.957 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/0.6084, allocations: 12 kB / 0.6066 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.6084, allocations: 8 kB / 0.6067 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008918/0.6093, allocations: 314 kB / 0.607 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.611, allocations: 1.084 MB / 0.608 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006549/0.6116, allocations: 185.9 kB / 0.6082 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.6118, allocations: 73.94 kB / 0.6083 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.6118, allocations: 0 / 0.6083 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.6119, allocations: 42.5 kB / 0.6083 GB, free: 15.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 9.32e-07/0.6119, allocations: 0 / 0.6083 GB, free: 15.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001429/0.6133, allocations: 365.6 kB / 0.6086 GB, free: 14.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.6133, allocations: 51.41 kB / 0.6087 GB, free: 14.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004217/0.6138, allocations: 377.6 kB / 0.6091 GB, free: 14.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.6138, allocations: 29.7 kB / 0.6091 GB, free: 14.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.614, allocations: 200 kB / 0.6093 GB, free: 14.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.614, allocations: 39.39 kB / 0.6093 GB, free: 14.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.587e-05/0.6141, allocations: 37.66 kB / 0.6093 GB, free: 14.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.6143, allocations: 346.7 kB / 0.6097 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.6145, allocations: 100.8 kB / 0.6098 GB, free: 13.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.6149, allocations: 149.3 kB / 0.6099 GB, free: 13.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000527/0.6154, allocations: 228 kB / 0.6101 GB, free: 13.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6154, allocations: 0 / 0.6101 GB, free: 13.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00066/0.6161, allocations: 296.7 kB / 0.6104 GB, free: 12.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.6161, allocations: 8 kB / 0.6104 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.6161, allocations: 0 / 0.6104 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.6162, allocations: 4 kB / 0.6104 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.6164, allocations: 43.97 kB / 0.6105 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.6165, allocations: 8.562 kB / 0.6105 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.6168, allocations: 55.83 kB / 0.6105 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.6168, allocations: 4 kB / 0.6105 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002426/0.6171, allocations: 184.1 kB / 0.6107 GB, free: 12.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001708/0.6172, allocations: 128.4 kB / 0.6108 GB, free: 12.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002883/0.6175, allocations: 178.3 kB / 0.611 GB, free: 12.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.156e-06/0.6176, allocations: 0.5469 kB / 0.611 GB, free: 12.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0003963/0.618, allocations: 234.5 kB / 0.6112 GB, free: 11.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/0.618, allocations: 4 kB / 0.6112 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-06/0.618, allocations: 0 / 0.6112 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.068e-06/0.618, allocations: 9.062 kB / 0.6112 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.6182, allocations: 35.92 kB / 0.6113 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.6182, allocations: 7.984 kB / 0.6113 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.6184, allocations: 28.39 kB / 0.6113 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.6184, allocations: 4.547 kB / 0.6113 GB, free: 11.89 MB / 494.1 MB 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.0001384/0.6186, allocations: 192.1 kB / 0.6115 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.015e-05/0.6186, allocations: 39.62 kB / 0.6115 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.9e-05/0.6187, allocations: 34.86 kB / 0.6116 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.6187, allocations: 4 kB / 0.6116 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.6187, allocations: 0 / 0.6116 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.6188, allocations: 5.797 kB / 0.6116 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.6199, allocations: 0.7061 MB / 0.6123 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.6199, allocations: 0 / 0.6123 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.6201, allocations: 52.02 kB / 0.6123 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.6201, allocations: 8 kB / 0.6123 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.6202, allocations: 4.438 kB / 0.6123 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.6202, allocations: 4 kB / 0.6123 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6202, allocations: 0 / 0.6123 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006569/0.6208, allocations: 363.1 kB / 0.6127 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.621, allocations: 140.7 kB / 0.6128 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.403e-05/0.6211, allocations: 11.94 kB / 0.6128 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/0.6214, allocations: 35.95 kB / 0.6129 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.6215, allocations: 11.98 kB / 0.6129 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.7e-05/0.6216, allocations: 11.98 kB / 0.6129 GB, free: 10.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002679/0.6218, allocations: 271.2 kB / 0.6131 GB, free: 9.883 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6218, allocations: 3.938 kB / 0.6131 GB, free: 9.879 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005334/0.6224, allocations: 152.4 kB / 0.6133 GB, free: 9.73 MB / 494.1 MB 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.000358/0.6227, allocations: 140.6 kB / 0.6134 GB, free: 9.598 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007851/0.6235, allocations: 308.7 kB / 0.6137 GB, free: 9.297 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.6236, allocations: 0 / 0.6137 GB, free: 9.297 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002686/0.6238, allocations: 104.4 kB / 0.6138 GB, free: 9.195 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.6248, allocations: 191.8 kB / 0.614 GB, free: 9.031 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.6261, allocations: 0.6903 MB / 0.6147 GB, free: 8.309 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.6266, allocations: 0.7956 MB / 0.6155 GB, free: 7.488 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004057/0.627, allocations: 88.47 kB / 0.6155 GB, free: 7.402 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.6271, allocations: 27.44 kB / 0.6156 GB, free: 7.375 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.6271, allocations: 0 / 0.6156 GB, free: 7.375 MB / 494.1 MB Notification: Performance of Templates: time 0.012/0.6391, allocations: 6.933 MB / 0.6223 GB, free: 0.5625 MB / 494.1 MB 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)