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.000961/0.000961, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.235/1.235, allocations: 222.9 MB / 238.8 MB, free: 4.738 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.001249/0.001249, allocations: 188.5 kB / 289.1 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03238/0.03238, allocations: 8.794 MB / 348.1 MB, free: 4.871 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 71 kB / 410.4 MB, free: 42.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08379/0.08499, allocations: 51.58 MB / 462 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.002925/0.08796, allocations: 2.05 MB / 464 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003014/0.08828, allocations: 155.5 kB / 464.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.905e-05/0.08836, allocations: 4 kB / 464.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.08849, allocations: 23.84 kB / 464.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.08866, allocations: 63.52 kB / 464.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/0.0888, allocations: 31.98 kB / 464.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003952/0.0892, allocations: 497.9 kB / 464.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.08953, allocations: 248.8 kB / 465 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.08966, allocations: 147.5 kB / 465.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.08985, allocations: 171.3 kB / 465.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.95e-05/0.0899, allocations: 24 kB / 465.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.204e-05/0.08997, allocations: 28 kB / 465.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.678e-05/0.09005, allocations: 67.7 kB / 465.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.09022, allocations: 183.2 kB / 465.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003967/0.09062, allocations: 0.5339 MB / 466.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.09063, allocations: 0 / 466.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.09064, allocations: 0 / 466.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.09065, allocations: 0 / 466.2 MB, free: 10.64 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.000988/0.09164, allocations: 0.6434 MB / 466.8 MB, free: 9.945 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.09169, allocations: 8.031 kB / 466.8 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.573e-05/0.09177, allocations: 36.56 kB / 466.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.09213, allocations: 299.8 kB / 467.1 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.09216, allocations: 21.03 kB / 467.2 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.797e-05/0.09222, allocations: 32.36 kB / 467.2 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005987/0.09282, allocations: 398.4 kB / 467.6 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.09285, allocations: 8.094 kB / 467.6 MB, free: 9.117 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.09289, allocations: 15.94 kB / 467.6 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/0.09292, allocations: 12.66 kB / 467.6 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000558/0.09349, allocations: 358.4 kB / 468 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.09504, allocations: 1.421 MB / 469.4 MB, free: 7.191 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006056/0.09566, allocations: 386.5 kB / 469.8 MB, free: 6.805 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/0.09592, allocations: 194.8 kB / 469.9 MB, free: 6.613 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.09595, allocations: 4 kB / 470 MB, free: 6.609 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.09598, allocations: 38.5 kB / 470 MB, free: 6.562 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/0.09599, allocations: 0 / 470 MB, free: 6.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001493/0.09748, allocations: 0.8571 MB / 470.8 MB, free: 5.637 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.09753, allocations: 55.34 kB / 470.9 MB, free: 5.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.09773, allocations: 223.4 kB / 471.1 MB, free: 5.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.09776, allocations: 29.7 kB / 471.1 MB, free: 5.305 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.904e-05/0.09786, allocations: 168.3 kB / 471.3 MB, free: 5.133 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.738e-05/0.09793, allocations: 83.14 kB / 471.4 MB, free: 5.051 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.908e-05/0.098, allocations: 45.7 kB / 471.4 MB, free: 5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.09813, allocations: 330.8 kB / 471.8 MB, free: 4.668 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.0983, allocations: 111.9 kB / 471.9 MB, free: 4.559 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.09848, allocations: 116.8 kB / 472 MB, free: 4.445 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003741/0.09886, allocations: 284.9 kB / 472.3 MB, free: 4.164 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.09887, allocations: 3.938 kB / 472.3 MB, free: 4.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006479/0.09953, allocations: 435.7 kB / 472.7 MB, free: 3.719 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.09955, allocations: 4 kB / 472.7 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.09956, allocations: 0 / 472.7 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003831/0.09996, allocations: 138.5 kB / 472.8 MB, free: 3.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.1001, allocations: 47.84 kB / 472.9 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0038/0.1039, allocations: 4.692 MB / 477.6 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.1041, allocations: 27.81 kB / 477.6 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.1041, allocations: 8 kB / 477.6 MB, free: 14.39 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.000217/0.1044, allocations: 205.6 kB / 477.8 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.1044, allocations: 23.88 kB / 477.8 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.679e-05/0.1045, allocations: 29.86 kB / 477.9 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1045, allocations: 4 kB / 477.9 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1045, allocations: 0 / 477.9 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1045, allocations: 0 / 477.9 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.105, allocations: 429.2 kB / 478.3 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.105, allocations: 0 / 478.3 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.1052, allocations: 39.97 kB / 478.3 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002793/0.1054, allocations: 146.5 kB / 478.5 MB, free: 13.47 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.1055, allocations: 11.98 kB / 478.5 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003617/0.1091, allocations: 4.689 MB / 483.2 MB, free: 8.367 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1091, allocations: 3.938 kB / 483.2 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009176/0.11, allocations: 0.6577 MB / 483.8 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-05/0.1101, allocations: 104.8 kB / 483.9 MB, free: 7.559 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.1102, allocations: 8.031 kB / 483.9 MB, free: 7.551 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.1103, allocations: 23.98 kB / 484 MB, free: 7.527 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.1104, allocations: 19.91 kB / 484 MB, free: 7.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.1104, allocations: 8 kB / 484 MB, free: 7.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.1105, allocations: 164 kB / 484.1 MB, free: 7.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.212e-06/0.1105, allocations: 3.938 kB / 484.1 MB, free: 7.336 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005374/0.1111, allocations: 111.6 kB / 484.3 MB, free: 7.227 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.0001032/0.1112, allocations: 103.9 kB / 484.4 MB, free: 7.113 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008422/0.112, allocations: 0.6584 MB / 485 MB, free: 6.418 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1121, allocations: 0 / 485 MB, free: 6.418 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005345/0.1126, allocations: 0.5194 MB / 485.5 MB, free: 5.859 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.113, allocations: 48.2 kB / 485.6 MB, free: 5.812 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.1143, allocations: 0.9693 MB / 486.6 MB, free: 4.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.1148, allocations: 0.8455 MB / 487.4 MB, free: 3.949 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.1149, allocations: 57.88 kB / 487.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.1149, allocations: 15.44 kB / 487.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.115, allocations: 4 kB / 487.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of Templates: time 0.006633/0.1216, allocations: 4.096 MB / 491.6 MB, free: 15.81 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 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.TestLongRod.pipe 2>&1)