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.001163/0.001163, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.349/1.349, allocations: 222.9 MB / 240.1 MB, free: 4.559 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.001225/0.001225, allocations: 188.5 kB / 290.4 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03398/0.03399, allocations: 8.798 MB / 349.3 MB, free: 4.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 75.88 kB / 464.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1125, allocations: 51.56 MB / 0.504 GB, free: 9.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.003294/0.1158, allocations: 2.001 MB / 0.506 GB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005161/0.1164, allocations: 167.5 kB / 0.5061 GB, free: 7.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.1165, allocations: 4 kB / 0.5062 GB, free: 7.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.1167, allocations: 23.72 kB / 0.5062 GB, free: 7.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.117, allocations: 71.45 kB / 0.5062 GB, free: 7.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.1171, allocations: 39.97 kB / 0.5063 GB, free: 7.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005669/0.1177, allocations: 497.9 kB / 0.5068 GB, free: 6.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004292/0.1182, allocations: 289.7 kB / 0.507 GB, free: 6.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002468/0.1184, allocations: 191.4 kB / 0.5072 GB, free: 6.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.1187, allocations: 183.3 kB / 0.5074 GB, free: 6.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.911e-05/0.1188, allocations: 48 kB / 0.5074 GB, free: 6.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.431e-05/0.1189, allocations: 48 kB / 0.5075 GB, free: 5.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.119, allocations: 95.75 kB / 0.5076 GB, free: 5.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002327/0.1193, allocations: 215.1 kB / 0.5078 GB, free: 5.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004904/0.1198, allocations: 0.5414 MB / 0.5083 GB, free: 5.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1198, allocations: 4 kB / 0.5083 GB, free: 5.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1198, allocations: 0 / 0.5083 GB, free: 5.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.1198, allocations: 0 / 0.5083 GB, free: 5.133 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.0012/0.121, allocations: 0.6472 MB / 0.5089 GB, free: 4.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1211, allocations: 8.031 kB / 0.509 GB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.469e-05/0.1212, allocations: 32.56 kB / 0.509 GB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.1215, allocations: 307.8 kB / 0.5093 GB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.1216, allocations: 25.03 kB / 0.5093 GB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-05/0.1216, allocations: 36.36 kB / 0.5093 GB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006412/0.1223, allocations: 386.5 kB / 0.5097 GB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.1223, allocations: 192 / 0.5097 GB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.1224, allocations: 19.94 kB / 0.5097 GB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.1224, allocations: 12.66 kB / 0.5097 GB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005902/0.123, allocations: 366.3 kB / 0.5101 GB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.1247, allocations: 1.417 MB / 0.5115 GB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006567/0.1254, allocations: 378.5 kB / 0.5118 GB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/0.1257, allocations: 207.2 kB / 0.512 GB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.1257, allocations: 0 / 0.512 GB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.1257, allocations: 34.56 kB / 0.5121 GB, free: 1.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.162e-06/0.1257, allocations: 0 / 0.5121 GB, free: 1.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001565/0.1273, allocations: 0.8569 MB / 0.5129 GB, free: 128 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.1273, allocations: 59.34 kB / 0.513 GB, free: 56 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.1276, allocations: 211.5 kB / 0.5132 GB, free: 15.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.1276, allocations: 29.7 kB / 0.5132 GB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.973e-05/0.1277, allocations: 168.3 kB / 0.5133 GB, free: 15.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.702e-05/0.1278, allocations: 86.75 kB / 0.5134 GB, free: 15.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-05/0.1279, allocations: 49.64 kB / 0.5135 GB, free: 15.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.128, allocations: 326.8 kB / 0.5138 GB, free: 15.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.1282, allocations: 119.9 kB / 0.5139 GB, free: 15.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.1284, allocations: 119.9 kB / 0.514 GB, free: 14.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.1288, allocations: 268.7 kB / 0.5143 GB, free: 14.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1288, allocations: 0 / 0.5143 GB, free: 14.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006986/0.1295, allocations: 440 kB / 0.5147 GB, free: 14.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1295, allocations: 4 kB / 0.5147 GB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1295, allocations: 0 / 0.5147 GB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004007/0.13, allocations: 134.5 kB / 0.5148 GB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.1301, allocations: 51.84 kB / 0.5149 GB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003966/0.1341, allocations: 5.16 MB / 0.5199 GB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.1343, allocations: 23.86 kB / 0.5199 GB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.1343, allocations: 12 kB / 0.5199 GB, free: 8.406 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.0002198/0.1345, allocations: 197.7 kB / 0.5201 GB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/0.1346, allocations: 15.81 kB / 0.5201 GB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.189e-05/0.1346, allocations: 37.8 kB / 0.5202 GB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1347, allocations: 4.062 kB / 0.5202 GB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.1347, allocations: 4 kB / 0.5202 GB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1347, allocations: 0 / 0.5202 GB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004759/0.1352, allocations: 425.2 kB / 0.5206 GB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.1352, allocations: 0 / 0.5206 GB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.1354, allocations: 47.84 kB / 0.5206 GB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003009/0.1357, allocations: 134.5 kB / 0.5208 GB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.1357, allocations: 8.078 kB / 0.5208 GB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003881/0.1396, allocations: 5.164 MB / 0.5258 GB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1396, allocations: 0 / 0.5258 GB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009471/0.1406, allocations: 0.6693 MB / 0.5265 GB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.821e-05/0.1407, allocations: 104.8 kB / 0.5266 GB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.1407, allocations: 8 kB / 0.5266 GB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.1409, allocations: 11.98 kB / 0.5266 GB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/0.1409, allocations: 23.91 kB / 0.5266 GB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.141, allocations: 7.938 kB / 0.5266 GB, free: 1.031 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.1411, allocations: 165.2 kB / 0.5268 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1411, allocations: 0 / 0.5268 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005807/0.1417, allocations: 107.7 kB / 0.5269 GB, free: 0.7656 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.0001276/0.1418, allocations: 99.25 kB / 0.527 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.2159/0.3577, allocations: 0.6449 MB / 0.5276 GB, free: 24.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.3578, allocations: 0.5 kB / 0.5276 GB, free: 24.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006577/0.3584, allocations: 0.5188 MB / 0.5281 GB, free: 24.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.3589, allocations: 47.62 kB / 0.5282 GB, free: 24.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.3602, allocations: 0.8561 MB / 0.529 GB, free: 23.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.3605, allocations: 0.8446 MB / 0.5298 GB, free: 23.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.03e-05/0.3605, allocations: 15.91 kB / 0.5298 GB, free: 23.15 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3605, allocations: 0 / 0.5298 GB, free: 23.15 MB / 366.1 MB Notification: Performance of Templates: time 0.01233/0.3729, allocations: 8.891 MB / 0.5385 GB, free: 21.94 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)