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.0.0+maint.om/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/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) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 104.6 kB / 16.35 MB, free: 5.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 240 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001398, allocations: 184.5 kB / 290.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03685/0.03685, allocations: 8.805 MB / 349.3 MB, free: 4.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 85.95 kB / 412.5 MB, free: 41.69 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09066/0.09235, allocations: 51.56 MB / 464.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.00316/0.09555, allocations: 1.996 MB / 466.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004103/0.09598, allocations: 167.5 kB / 466.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.419e-05/0.09609, allocations: 0 / 466.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.09625, allocations: 27.73 kB / 466.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.09646, allocations: 67.47 kB / 466.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.09663, allocations: 47.95 kB / 466.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005044/0.09714, allocations: 0.4901 MB / 466.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004129/0.09756, allocations: 285.7 kB / 467.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.09781, allocations: 183.4 kB / 467.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003676/0.09818, allocations: 195.3 kB / 467.5 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.441e-05/0.09828, allocations: 44 kB / 467.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.09841, allocations: 48 kB / 467.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.09856, allocations: 95.7 kB / 467.7 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002874/0.09885, allocations: 207.2 kB / 467.9 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005379/0.0994, allocations: 0.5492 MB / 468.5 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.09941, allocations: 8 kB / 468.5 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.09942, allocations: 0 / 468.5 MB, free: 9.184 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.09944, allocations: 0 / 468.5 MB, free: 9.184 MB / 302.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.001305/0.1008, allocations: 0.6395 MB / 469.1 MB, free: 8.492 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1008, allocations: 16.03 kB / 469.1 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.1009, allocations: 36.55 kB / 469.1 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.1014, allocations: 299.8 kB / 469.4 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.1014, allocations: 25.03 kB / 469.5 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-05/0.1015, allocations: 24.38 kB / 469.5 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007102/0.1022, allocations: 402.4 kB / 469.9 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.1022, allocations: 4.094 kB / 469.9 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.993e-05/0.1023, allocations: 15.94 kB / 469.9 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.1023, allocations: 8.656 kB / 469.9 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006086/0.1029, allocations: 366.4 kB / 470.3 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.1047, allocations: 1.409 MB / 471.7 MB, free: 5.742 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006616/0.1054, allocations: 390.5 kB / 472.1 MB, free: 5.352 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/0.1057, allocations: 188.7 kB / 472.2 MB, free: 5.164 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.1057, allocations: 7.938 kB / 472.3 MB, free: 5.156 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.1057, allocations: 38.56 kB / 472.3 MB, free: 5.109 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.773e-06/0.1057, allocations: 0 / 472.3 MB, free: 5.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001558/0.1073, allocations: 0.8493 MB / 473.1 MB, free: 4.191 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.1074, allocations: 63.33 kB / 473.2 MB, free: 4.117 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.1076, allocations: 215.5 kB / 473.4 MB, free: 3.891 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.1076, allocations: 33.7 kB / 473.4 MB, free: 3.852 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.1077, allocations: 164.3 kB / 473.6 MB, free: 3.688 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.156e-05/0.1078, allocations: 87.12 kB / 473.7 MB, free: 3.602 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.59e-05/0.1079, allocations: 41.7 kB / 473.7 MB, free: 3.555 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.108, allocations: 330.8 kB / 474.1 MB, free: 3.223 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.1083, allocations: 119.9 kB / 474.2 MB, free: 3.105 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.1084, allocations: 116.8 kB / 474.3 MB, free: 2.992 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.1088, allocations: 284.9 kB / 474.6 MB, free: 2.711 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1088, allocations: 3.938 kB / 474.6 MB, free: 2.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007121/0.1096, allocations: 427.7 kB / 475 MB, free: 2.273 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1096, allocations: 8 kB / 475 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1096, allocations: 0 / 475 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004089/0.11, allocations: 138.5 kB / 475.1 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.1102, allocations: 47.84 kB / 475.2 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004045/0.1143, allocations: 5.156 MB / 480.3 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.1144, allocations: 19.83 kB / 480.3 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.1144, allocations: 8 kB / 480.4 MB, free: 12.47 MB / 318.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.0001922/0.1146, allocations: 205.8 kB / 480.6 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.1147, allocations: 15.81 kB / 480.6 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.861e-05/0.1147, allocations: 33.8 kB / 480.6 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.1147, allocations: 4.188 kB / 480.6 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1148, allocations: 0 / 480.6 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.1148, allocations: 3.984 kB / 480.6 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/0.1152, allocations: 429.2 kB / 481 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1152, allocations: 0 / 481 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.1154, allocations: 39.91 kB / 481.1 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002827/0.1157, allocations: 138.5 kB / 481.2 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.1157, allocations: 11.94 kB / 481.2 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003533/0.1193, allocations: 5.164 MB / 486.4 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1193, allocations: 3.938 kB / 486.4 MB, free: 5.953 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008876/0.1202, allocations: 0.6615 MB / 487 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.999e-05/0.1203, allocations: 108.8 kB / 487.2 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.1203, allocations: 4 kB / 487.2 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.1204, allocations: 15.92 kB / 487.2 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.1205, allocations: 19.97 kB / 487.2 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.1205, allocations: 12 kB / 487.2 MB, free: 5.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.1207, allocations: 161.2 kB / 487.4 MB, free: 4.934 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1207, allocations: 0 / 487.4 MB, free: 4.934 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005467/0.1212, allocations: 103.7 kB / 487.5 MB, free: 4.832 MB / 318.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.0001047/0.1213, allocations: 103.2 kB / 487.6 MB, free: 4.723 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008372/0.1222, allocations: 0.6582 MB / 488.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1222, allocations: 0 / 488.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000538/0.1227, allocations: 0.5233 MB / 488.7 MB, free: 3.465 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.1231, allocations: 57.83 kB / 488.8 MB, free: 3.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.1243, allocations: 0.8485 MB / 489.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.1247, allocations: 0.8419 MB / 490.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.1248, allocations: 53.91 kB / 490.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.1249, allocations: 19.42 kB / 490.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1249, allocations: 0 / 490.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of Templates: time 0.00738/0.1323, allocations: 4.255 MB / 494.8 MB, free: 13.37 MB / 334.1 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 -s gbode -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.TestLongRod.pipe 2>&1)