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.001253/0.001253, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.369/1.369, allocations: 222.9 MB / 240.1 MB, free: 4.336 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.001364/0.001364, allocations: 196.5 kB / 290.4 MB, free: 2.059 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03329/0.03329, allocations: 8.794 MB / 349.3 MB, free: 4.535 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 83.86 kB / 464.6 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1046, allocations: 51.56 MB / 0.504 GB, free: 9.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.003277/0.1079, allocations: 2.014 MB / 0.506 GB, free: 7.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004911/0.1085, allocations: 159.5 kB / 0.5061 GB, free: 7.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.1086, allocations: 4 kB / 0.5062 GB, free: 7.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.1088, allocations: 27.72 kB / 0.5062 GB, free: 7.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.109, allocations: 71.45 kB / 0.5062 GB, free: 7.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.1092, allocations: 39.97 kB / 0.5063 GB, free: 7.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005508/0.1098, allocations: 497.9 kB / 0.5068 GB, free: 6.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004316/0.1102, allocations: 293.7 kB / 0.507 GB, free: 6.305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.1105, allocations: 183.5 kB / 0.5072 GB, free: 6.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003316/0.1108, allocations: 183.3 kB / 0.5074 GB, free: 5.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.839e-05/0.1109, allocations: 48 kB / 0.5074 GB, free: 5.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.466e-05/0.111, allocations: 48 kB / 0.5075 GB, free: 5.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.1111, allocations: 107.7 kB / 0.5076 GB, free: 5.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002705/0.1114, allocations: 207.2 kB / 0.5078 GB, free: 5.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005453/0.112, allocations: 0.5493 MB / 0.5083 GB, free: 4.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.112, allocations: 0 / 0.5083 GB, free: 4.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.978e-06/0.112, allocations: 3.984 kB / 0.5083 GB, free: 4.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.112, allocations: 0 / 0.5083 GB, free: 4.988 MB / 350.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.001216/0.1132, allocations: 0.6457 MB / 0.509 GB, free: 4.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1133, allocations: 8.031 kB / 0.509 GB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.811e-05/0.1134, allocations: 36.56 kB / 0.509 GB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.1138, allocations: 303.8 kB / 0.5093 GB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.1138, allocations: 21.03 kB / 0.5093 GB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/0.1139, allocations: 28.38 kB / 0.5093 GB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000647/0.1146, allocations: 390.5 kB / 0.5097 GB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.1146, allocations: 192 / 0.5097 GB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.1146, allocations: 19.94 kB / 0.5097 GB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.1147, allocations: 16.66 kB / 0.5097 GB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000597/0.1153, allocations: 366.3 kB / 0.5101 GB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.117, allocations: 1.413 MB / 0.5115 GB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006285/0.1177, allocations: 386.5 kB / 0.5118 GB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.1179, allocations: 192.7 kB / 0.512 GB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.118, allocations: 4 kB / 0.512 GB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.118, allocations: 34.56 kB / 0.5121 GB, free: 0.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.352e-06/0.118, allocations: 0 / 0.5121 GB, free: 0.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001535/0.1195, allocations: 0.8569 MB / 0.5129 GB, free: 15.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.1196, allocations: 55.34 kB / 0.5129 GB, free: 15.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.1198, allocations: 223.4 kB / 0.5132 GB, free: 15.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.1199, allocations: 37.64 kB / 0.5132 GB, free: 15.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.98e-05/0.12, allocations: 164.3 kB / 0.5134 GB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.003e-05/0.12, allocations: 79.16 kB / 0.5134 GB, free: 15.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.345e-05/0.1201, allocations: 49.64 kB / 0.5135 GB, free: 15.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1203, allocations: 330.8 kB / 0.5138 GB, free: 15.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.1204, allocations: 111.9 kB / 0.5139 GB, free: 14.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.1206, allocations: 119.9 kB / 0.514 GB, free: 14.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.121, allocations: 276.6 kB / 0.5143 GB, free: 14.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.121, allocations: 0 / 0.5143 GB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006714/0.1217, allocations: 432 kB / 0.5147 GB, free: 14.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.1217, allocations: 7.984 kB / 0.5147 GB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.1217, allocations: 0 / 0.5147 GB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003754/0.1221, allocations: 138.5 kB / 0.5148 GB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.1223, allocations: 47.84 kB / 0.5149 GB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003961/0.1263, allocations: 5.156 MB / 0.5199 GB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.1264, allocations: 23.86 kB / 0.5199 GB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.1265, allocations: 4 kB / 0.5199 GB, free: 8.281 MB / 366.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.0002195/0.1267, allocations: 201.8 kB / 0.5201 GB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.1267, allocations: 23.98 kB / 0.5202 GB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.124e-05/0.1268, allocations: 33.81 kB / 0.5202 GB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1268, allocations: 7.984 kB / 0.5202 GB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.1268, allocations: 0 / 0.5202 GB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1268, allocations: 3.984 kB / 0.5202 GB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/0.1273, allocations: 417.2 kB / 0.5206 GB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.1273, allocations: 3.984 kB / 0.5206 GB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.1275, allocations: 59.84 kB / 0.5207 GB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003002/0.1279, allocations: 126.5 kB / 0.5208 GB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.1279, allocations: 11.94 kB / 0.5208 GB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003786/0.1317, allocations: 5.152 MB / 0.5258 GB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1317, allocations: 4.031 kB / 0.5258 GB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000955/0.1327, allocations: 0.6691 MB / 0.5265 GB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.1327, allocations: 104.8 kB / 0.5266 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.1328, allocations: 12 kB / 0.5266 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.1329, allocations: 12.03 kB / 0.5266 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/0.133, allocations: 23.91 kB / 0.5266 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.133, allocations: 8 kB / 0.5266 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001487/0.1332, allocations: 161.2 kB / 0.5268 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1332, allocations: 0 / 0.5268 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005674/0.1337, allocations: 107.7 kB / 0.5269 GB, free: 0.6328 MB / 366.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.0001119/0.1339, allocations: 106.1 kB / 0.527 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.2006/0.3345, allocations: 0.643 MB / 0.5276 GB, free: 24.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.3345, allocations: 0 / 0.5276 GB, free: 24.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005754/0.3351, allocations: 0.5207 MB / 0.5281 GB, free: 24.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.3356, allocations: 50.75 kB / 0.5282 GB, free: 24.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.3368, allocations: 0.8492 MB / 0.529 GB, free: 23.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.3371, allocations: 0.8414 MB / 0.5298 GB, free: 23.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.3372, allocations: 17.28 kB / 0.5298 GB, free: 23.04 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3372, allocations: 4 kB / 0.5298 GB, free: 23.03 MB / 366.1 MB Notification: Performance of Templates: time 0.01102/0.3482, allocations: 8.889 MB / 0.5385 GB, free: 21.8 MB / 366.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)