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/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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: "" <> buildModelFMU(HanserModelica.Thermal.TestLongRod,fileNamePrefix="HanserModelica_HanserModelica_Thermal_TestLongRod",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Thermal.TestLongRod,fileNamePrefix="HanserModelica_HanserModelica_Thermal_TestLongRod",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008646/0.0008644, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.298/1.298, allocations: 223.2 MB / 238.9 MB, free: 5.465 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.001083/0.001083, allocations: 177 kB / 290.2 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03282/0.03282, allocations: 8.783 MB / 350 MB, free: 4.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003816, allocations: 9.219 kB / 413.2 MB, free: 42.99 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09756/0.09796, allocations: 52.56 MB / 465.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.002171/0.1002, allocations: 1.578 MB / 467.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005564/0.1008, allocations: 171.5 kB / 467.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.1009, allocations: 4 kB / 467.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.1011, allocations: 19.83 kB / 467.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.1013, allocations: 67.84 kB / 467.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.1015, allocations: 19.98 kB / 467.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004261/0.1019, allocations: 303.3 kB / 467.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003405/0.1023, allocations: 196.7 kB / 468.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.1025, allocations: 115.6 kB / 468.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.1027, allocations: 143.4 kB / 468.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.384e-05/0.1028, allocations: 20 kB / 468.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.326e-05/0.1028, allocations: 16 kB / 468.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.099e-05/0.1029, allocations: 47.84 kB / 468.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.799e-05/0.103, allocations: 101.5 kB / 468.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003909/0.1034, allocations: 443.1 kB / 468.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.1034, allocations: 3.938 kB / 468.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1034, allocations: 0 / 468.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.1034, allocations: 4 kB / 468.9 MB, free: 10.15 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.001044/0.1045, allocations: 0.5925 MB / 469.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.1045, allocations: 8.031 kB / 469.5 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001462/0.1047, allocations: 78.52 kB / 469.6 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.617e-05/0.1048, allocations: 39.58 kB / 469.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000425/0.1052, allocations: 294.5 kB / 469.9 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.1053, allocations: 24.66 kB / 470 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.002e-05/0.1053, allocations: 28 kB / 470 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006534/0.106, allocations: 386 kB / 470.4 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.106, allocations: 0 / 470.4 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.1061, allocations: 19.88 kB / 470.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.87e-05/0.1061, allocations: 20.59 kB / 470.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006324/0.1067, allocations: 362.4 kB / 470.8 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.1084, allocations: 1.425 MB / 472.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006262/0.109, allocations: 386.4 kB / 472.6 MB, free: 6.285 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.1091, allocations: 4 kB / 472.6 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.1091, allocations: 30.56 kB / 472.6 MB, free: 6.242 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.412e-06/0.1091, allocations: 4 kB / 472.6 MB, free: 6.238 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001609/0.1107, allocations: 0.869 MB / 473.5 MB, free: 5.301 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.1108, allocations: 59.34 kB / 473.5 MB, free: 5.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.111, allocations: 211.5 kB / 473.7 MB, free: 5.012 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.111, allocations: 29.7 kB / 473.8 MB, free: 4.977 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.1111, allocations: 172.3 kB / 473.9 MB, free: 4.801 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.334e-05/0.1112, allocations: 79.3 kB / 474 MB, free: 4.723 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-06/0.1112, allocations: 0 / 474 MB, free: 4.723 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1114, allocations: 330.8 kB / 474.3 MB, free: 4.391 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.1116, allocations: 123.9 kB / 474.5 MB, free: 4.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.1118, allocations: 117.5 kB / 474.6 MB, free: 4.156 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.112, allocations: 144.3 kB / 474.7 MB, free: 4.016 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.112, allocations: 0 / 474.7 MB, free: 4.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007231/0.1127, allocations: 443.5 kB / 475.1 MB, free: 3.566 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1128, allocations: 9.656 kB / 475.2 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1128, allocations: 0 / 475.2 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003631/0.1131, allocations: 138.5 kB / 475.3 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.1133, allocations: 39.97 kB / 475.3 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003648/0.117, allocations: 4.735 MB / 480.1 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.1171, allocations: 35.91 kB / 480.1 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.1172, allocations: 8 kB / 480.1 MB, free: 14.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001997/0.1174, allocations: 209.6 kB / 480.3 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.1174, allocations: 15.81 kB / 480.3 MB, free: 13.97 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.8e-05/0.1175, allocations: 34.33 kB / 480.4 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1175, allocations: 3.953 kB / 480.4 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.1175, allocations: 8 kB / 480.4 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1175, allocations: 0 / 480.4 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/0.118, allocations: 425.3 kB / 480.8 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.118, allocations: 3.938 kB / 480.8 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.1182, allocations: 39.97 kB / 480.8 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002855/0.1185, allocations: 138.4 kB / 481 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.1185, allocations: 8 kB / 481 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003419/0.1219, allocations: 4.735 MB / 485.7 MB, free: 8.125 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.122, allocations: 0 / 485.7 MB, free: 8.125 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008895/0.1229, allocations: 0.6718 MB / 486.4 MB, free: 7.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-05/0.1229, allocations: 104.9 kB / 486.5 MB, free: 7.309 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.123, allocations: 4 kB / 486.5 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.1231, allocations: 27.88 kB / 486.5 MB, free: 7.277 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.1232, allocations: 15.98 kB / 486.5 MB, free: 7.262 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.1232, allocations: 8 kB / 486.5 MB, free: 7.254 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.1234, allocations: 165.1 kB / 486.7 MB, free: 7.094 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1234, allocations: 0 / 486.7 MB, free: 7.094 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005264/0.1239, allocations: 103.7 kB / 486.8 MB, free: 6.992 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001127/0.125, allocations: 1.21 MB / 488 MB, free: 5.742 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008203/0.1259, allocations: 0.6531 MB / 488.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1259, allocations: 0 / 488.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005432/0.1264, allocations: 0.5302 MB / 489.2 MB, free: 4.484 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.1267, allocations: 44.17 kB / 489.2 MB, free: 4.438 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.1296, allocations: 2.166 MB / 491.4 MB, free: 2.227 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.13, allocations: 0.8494 MB / 492.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00013/0.1301, allocations: 57.88 kB / 492.3 MB, free: 1.293 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.1303, allocations: 79.41 kB / 492.4 MB, free: 1.215 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1303, allocations: 4 kB / 492.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.1483, allocations: 6.559 MB / 498.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/0.1485, allocations: 184.7 kB / 499.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/1.814, allocations: 64 / 499.1 MB, free: 10.55 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Thermal_TestLongRod_fmu --startTime=0 --stopTime=400 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Thermal_TestLongRod.fmu > HanserModelica_HanserModelica.Thermal.TestLongRod.pipe 2>&1) Environment - environmentSimulation: