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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.425/1.425, allocations: 177.2 MB / 200.1 MB, free: 9.281 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 161.5 kB / 256.6 MB, free: 0.7617 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.03972/0.03972, allocations: 6.668 MB / 319.6 MB, free: 12.09 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") translateModel(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002575/0.002575, allocations: 91.86 kB / 446.4 MB, free: 2.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3049, allocations: 55.58 MB / 0.4902 GB, free: 76.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.002715/0.3077, allocations: 1.937 MB / 0.4921 GB, free: 74.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003974/0.3081, allocations: 162.5 kB / 0.4923 GB, free: 74.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.811e-05/0.3081, allocations: 3.25 kB / 0.4923 GB, free: 74.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.3083, allocations: 25.5 kB / 0.4923 GB, free: 74.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.3085, allocations: 74.28 kB / 0.4924 GB, free: 74.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.3087, allocations: 37.19 kB / 0.4924 GB, free: 74.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004374/0.3091, allocations: 0.4905 MB / 0.4929 GB, free: 74.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/0.3094, allocations: 157.8 kB / 0.493 GB, free: 74.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.3095, allocations: 186.2 kB / 0.4932 GB, free: 74.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.3098, allocations: 210 kB / 0.4934 GB, free: 74.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.316e-05/0.3099, allocations: 47.59 kB / 0.4935 GB, free: 74.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.377e-05/0.3099, allocations: 46.22 kB / 0.4935 GB, free: 74.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.31, allocations: 100.4 kB / 0.4936 GB, free: 74.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.3102, allocations: 172.9 kB / 0.4938 GB, free: 74.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000485/0.3107, allocations: 0.5537 MB / 0.4943 GB, free: 73.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3107, allocations: 3.938 kB / 0.4943 GB, free: 73.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3107, allocations: 3.281 kB / 0.4943 GB, free: 73.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.3107, allocations: 0 / 0.4943 GB, free: 73.88 MB / 446.1 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.001054/0.3117, allocations: 0.5748 MB / 0.4949 GB, free: 73.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3118, allocations: 9.719 kB / 0.4949 GB, free: 73.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.606e-05/0.3119, allocations: 40.39 kB / 0.4949 GB, free: 73.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.3123, allocations: 245.7 kB / 0.4952 GB, free: 73.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.3123, allocations: 21.72 kB / 0.4952 GB, free: 73.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.749e-05/0.3124, allocations: 27.81 kB / 0.4952 GB, free: 73.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006853/0.313, allocations: 396.8 kB / 0.4956 GB, free: 73.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.3131, allocations: 192 / 0.4956 GB, free: 73.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.3131, allocations: 23.11 kB / 0.4956 GB, free: 73.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/0.3131, allocations: 16.95 kB / 0.4956 GB, free: 73.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005317/0.3137, allocations: 353.5 kB / 0.496 GB, free: 72.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.3151, allocations: 0.9289 MB / 0.4969 GB, free: 72.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006889/0.3158, allocations: 372.7 kB / 0.4972 GB, free: 72.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.316, allocations: 183.2 kB / 0.4974 GB, free: 72.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.316, allocations: 7.375 kB / 0.4974 GB, free: 72.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.3161, allocations: 33.75 kB / 0.4974 GB, free: 72.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 1.452e-06/0.3161, allocations: 3.938 kB / 0.4974 GB, free: 72.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001489/0.3175, allocations: 0.6265 MB / 0.498 GB, free: 71.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.3176, allocations: 54.72 kB / 0.4981 GB, free: 71.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.3178, allocations: 202.3 kB / 0.4983 GB, free: 71.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.3178, allocations: 32.86 kB / 0.4983 GB, free: 71.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/0.3179, allocations: 168.6 kB / 0.4985 GB, free: 71.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.565e-05/0.3179, allocations: 86.77 kB / 0.4986 GB, free: 71.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-05/0.318, allocations: 48.81 kB / 0.4986 GB, free: 71.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.501e-05/0.3181, allocations: 327.5 kB / 0.4989 GB, free: 71.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.3182, allocations: 114.8 kB / 0.499 GB, free: 71.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.3184, allocations: 124.5 kB / 0.4992 GB, free: 71.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.3187, allocations: 274.8 kB / 0.4994 GB, free: 70.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3187, allocations: 0 / 0.4994 GB, free: 70.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006022/0.3193, allocations: 434.8 kB / 0.4998 GB, free: 70.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/0.3194, allocations: 6.5 kB / 0.4998 GB, free: 70.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3194, allocations: 0 / 0.4998 GB, free: 70.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003842/0.3198, allocations: 130.8 kB / 0.5 GB, free: 70.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.3199, allocations: 48.19 kB / 0.5 GB, free: 70.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003312/0.3232, allocations: 4.768 MB / 0.5047 GB, free: 66.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.3234, allocations: 21.3 kB / 0.5047 GB, free: 66.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.3234, allocations: 10.16 kB / 0.5047 GB, free: 66.3 MB / 446.1 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002278/0.3236, allocations: 192.7 kB / 0.5049 GB, free: 66.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.3237, allocations: 20.7 kB / 0.5049 GB, free: 66.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.377e-05/0.3237, allocations: 25.19 kB / 0.5049 GB, free: 66.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.3238, allocations: 3.188 kB / 0.5049 GB, free: 66.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.3238, allocations: 7.188 kB / 0.5049 GB, free: 66.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3238, allocations: 7.25 kB / 0.5049 GB, free: 66.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/0.3241, allocations: 306.3 kB / 0.5052 GB, free: 65.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3241, allocations: 3.281 kB / 0.5052 GB, free: 65.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.3243, allocations: 43 kB / 0.5053 GB, free: 65.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002732/0.3246, allocations: 127.8 kB / 0.5054 GB, free: 65.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.3246, allocations: 10.5 kB / 0.5054 GB, free: 65.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00319/0.3278, allocations: 4.776 MB / 0.5101 GB, free: 61.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3278, allocations: 3.25 kB / 0.5101 GB, free: 61.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009217/0.3287, allocations: 0.6608 MB / 0.5107 GB, free: 61.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.3288, allocations: 33.61 kB / 0.5107 GB, free: 61.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.3288, allocations: 7.344 kB / 0.5108 GB, free: 61.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.3289, allocations: 10.05 kB / 0.5108 GB, free: 61.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.329, allocations: 20.92 kB / 0.5108 GB, free: 61.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.329, allocations: 3.156 kB / 0.5108 GB, free: 61.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001507/0.3292, allocations: 159.2 kB / 0.5109 GB, free: 61.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3292, allocations: 0 / 0.5109 GB, free: 61.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006324/0.3298, allocations: 117.1 kB / 0.5111 GB, free: 60.98 MB / 446.1 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000139/0.33, allocations: 98.84 kB / 0.5111 GB, free: 60.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009507/0.3309, allocations: 0.6429 MB / 0.5118 GB, free: 60.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.3309, allocations: 4 kB / 0.5118 GB, free: 60.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005541/0.3315, allocations: 0.517 MB / 0.5123 GB, free: 60.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.3319, allocations: 36.83 kB / 0.5123 GB, free: 60.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.3332, allocations: 0.8551 MB / 0.5132 GB, free: 59.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.3335, allocations: 239.8 kB / 0.5134 GB, free: 59.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.3336, allocations: 53.7 kB / 0.5134 GB, free: 59.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.3336, allocations: 18.28 kB / 0.5134 GB, free: 59.38 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3336, allocations: 0 / 0.5134 GB, free: 59.38 MB / 446.1 MB Notification: Performance of Templates: time 0.008676/0.3423, allocations: 4.11 MB / 0.5175 GB, free: 58.86 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Thermal.TestLongRod.makefile [Timeout 660] (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 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.TestLongRod.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.918380229035392] Failed to read output from testmodel.py, exit status != 0: 0.3508276549400762 0.36373361800000004 0.049509242 Calling exit ...