Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.TestLongRod.conf.json 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/HanserModelica 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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) Running command: translateModel(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") translateModel(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004555/0.004555, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03689/0.03689, allocations: 8.801 MB / 24.65 MB, free: 4.113 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 223.2 MB / 250.7 MB, free: 6.527 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008008/0.0008008, allocations: 94.77 kB / 304 MB, free: 4.031 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003389, allocations: 8 kB / 367.1 MB, free: 4.973 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2124, allocations: 52.53 MB / 419.6 MB, free: 48.1 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0814/0.2938, allocations: 78.38 MB / 498 MB, free: 10.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001734/0.294, allocations: 67.97 kB / 498 MB, free: 10.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01169/0.3057, allocations: 5.172 MB / 0.4914 GB, free: 5.527 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3058, allocations: 0 / 0.4914 GB, free: 5.527 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.3058, allocations: 4 kB / 0.4914 GB, free: 5.523 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0007759/0.3066, allocations: 0.5888 MB / 0.492 GB, free: 4.887 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3066, allocations: 12.56 kB / 0.492 GB, free: 4.875 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.886e-05/0.3067, allocations: 39.47 kB / 0.492 GB, free: 4.836 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.3071, allocations: 314.6 kB / 0.4923 GB, free: 4.488 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.3072, allocations: 20.66 kB / 0.4924 GB, free: 4.469 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.379e-05/0.3072, allocations: 31.94 kB / 0.4924 GB, free: 4.438 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005869/0.3078, allocations: 366 kB / 0.4927 GB, free: 4.074 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.3078, allocations: 4 kB / 0.4928 GB, free: 4.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.3079, allocations: 8 kB / 0.4928 GB, free: 4.062 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.161e-05/0.3079, allocations: 20.64 kB / 0.4928 GB, free: 4.039 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005514/0.3085, allocations: 338.4 kB / 0.4931 GB, free: 3.707 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.3101, allocations: 1.436 MB / 0.4945 GB, free: 2.145 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006057/0.3107, allocations: 386.4 kB / 0.4949 GB, free: 1.758 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.3108, allocations: 4 kB / 0.4949 GB, free: 1.754 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.3108, allocations: 30.56 kB / 0.4949 GB, free: 1.715 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.362e-06/0.3108, allocations: 0 / 0.4949 GB, free: 1.715 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001448/0.3123, allocations: 0.8686 MB / 0.4958 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.3123, allocations: 55.41 kB / 0.4958 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.3125, allocations: 190.6 kB / 0.496 GB, free: 0.5117 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.3125, allocations: 37.69 kB / 0.496 GB, free: 480 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.437e-05/0.3126, allocations: 172.3 kB / 0.4962 GB, free: 304 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.3127, allocations: 82.77 kB / 0.4963 GB, free: 220 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-06/0.3127, allocations: 0 / 0.4963 GB, free: 220 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3128, allocations: 334.8 kB / 0.4966 GB, free: 15.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.313, allocations: 115.9 kB / 0.4967 GB, free: 15.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.3132, allocations: 121 kB / 0.4968 GB, free: 15.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.3134, allocations: 144.3 kB / 0.497 GB, free: 15.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3134, allocations: 0 / 0.497 GB, free: 15.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000658/0.314, allocations: 439.5 kB / 0.4974 GB, free: 15.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3141, allocations: 11.94 kB / 0.4974 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.3141, allocations: 4 kB / 0.4974 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003461/0.3144, allocations: 130.5 kB / 0.4975 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.3146, allocations: 39.91 kB / 0.4975 GB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003428/0.318, allocations: 4.744 MB / 0.5022 GB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.3182, allocations: 39.84 kB / 0.5022 GB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.3183, allocations: 8 kB / 0.5022 GB, free: 9.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001919/0.3185, allocations: 193.8 kB / 0.5024 GB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/0.3185, allocations: 19.77 kB / 0.5024 GB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.275e-05/0.3186, allocations: 33.88 kB / 0.5025 GB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3186, allocations: 0 / 0.5025 GB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.3186, allocations: 4 kB / 0.5025 GB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3186, allocations: 3.984 kB / 0.5025 GB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.319, allocations: 417.2 kB / 0.5029 GB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.319, allocations: 4 kB / 0.5029 GB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.3193, allocations: 47.91 kB / 0.5029 GB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003046/0.3196, allocations: 130.5 kB / 0.503 GB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.3196, allocations: 7.953 kB / 0.503 GB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003184/0.3228, allocations: 4.747 MB / 0.5077 GB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3228, allocations: 0 / 0.5077 GB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000868/0.3237, allocations: 0.6715 MB / 0.5083 GB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.528e-05/0.3238, allocations: 100.9 kB / 0.5084 GB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.3238, allocations: 4.031 kB / 0.5084 GB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.324, allocations: 31.83 kB / 0.5085 GB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.324, allocations: 19.97 kB / 0.5085 GB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.3241, allocations: 4 kB / 0.5085 GB, free: 2.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001326/0.3242, allocations: 165.2 kB / 0.5087 GB, free: 2.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3242, allocations: 0 / 0.5087 GB, free: 2.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005304/0.3247, allocations: 107.6 kB / 0.5088 GB, free: 2.484 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (longRod.shortRod[1].heatCapacitor.T,longRod.shortRod[2].heatCapacitor.T,longRod.shortRod[3].heatCapacitor.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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001489/0.3249, allocations: 105.2 kB / 0.5089 GB, free: 2.375 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009322/0.3258, allocations: 0.6487 MB / 0.5095 GB, free: 1.688 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3259, allocations: 7.938 kB / 0.5095 GB, free: 1.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005833/0.3264, allocations: 0.5309 MB / 0.51 GB, free: 1.109 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.3268, allocations: 44.16 kB / 0.5101 GB, free: 1.062 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.3283, allocations: 0.9996 MB / 0.511 GB, free: 52 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.3288, allocations: 0.8534 MB / 0.5119 GB, free: 15.17 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001411/0.3289, allocations: 49.91 kB / 0.5119 GB, free: 15.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.329, allocations: 19.38 kB / 0.5119 GB, free: 15.11 MB / 394.7 MB Notification: Performance of SimCode: time 6.71e-07/0.329, allocations: 0 / 0.5119 GB, free: 15.11 MB / 394.7 MB Notification: Performance of Templates: time 0.006956/0.336, allocations: 3.932 MB / 0.5158 GB, free: 11.22 MB / 394.7 MB make -j1 -f HanserModelica_HanserModelica.Thermal.TestLongRod.makefile (rm -f HanserModelica_HanserModelica.Thermal.TestLongRod.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.TestLongRod.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.TestLongRod.pipe >> ../files/HanserModelica_HanserModelica.Thermal.TestLongRod.sim & ./HanserModelica_HanserModelica.Thermal.TestLongRod -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.TestLongRod.pipe 2>&1)