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: "" <> 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.0007969/0.0007975, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.424/1.424, allocations: 223.3 MB / 239.4 MB, free: 5.52 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.001014/0.001014, allocations: 176.5 kB / 290.6 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03328/0.03328, allocations: 8.805 MB / 350.5 MB, free: 4.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003729, allocations: 10.55 kB / 413.9 MB, free: 42.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1006, allocations: 52.56 MB / 466.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.00218/0.1028, allocations: 1.708 MB / 468.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004029/0.1033, allocations: 155.5 kB / 468.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.467e-05/0.1034, allocations: 4 kB / 468.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.1035, allocations: 15.84 kB / 468.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.1038, allocations: 59.59 kB / 468.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.1039, allocations: 43.91 kB / 468.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005301/0.1045, allocations: 489.9 kB / 468.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000414/0.1049, allocations: 248.8 kB / 469.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.1051, allocations: 135.4 kB / 469.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.1053, allocations: 155.3 kB / 469.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.499e-05/0.1053, allocations: 16 kB / 469.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.683e-05/0.1054, allocations: 24 kB / 469.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.775e-05/0.1055, allocations: 55.77 kB / 469.6 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.1057, allocations: 196.8 kB / 469.8 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000467/0.1061, allocations: 0.5181 MB / 470.3 MB, free: 9.234 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1062, allocations: 0 / 470.3 MB, free: 9.234 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1062, allocations: 0 / 470.3 MB, free: 9.234 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.1062, allocations: 0 / 470.3 MB, free: 9.234 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.0009711/0.1072, allocations: 0.5888 MB / 470.9 MB, free: 8.594 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.1072, allocations: 12.03 kB / 470.9 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.376e-05/0.1073, allocations: 70.72 kB / 470.9 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.87e-05/0.1074, allocations: 36.5 kB / 471 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.1077, allocations: 303.8 kB / 471.3 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.1078, allocations: 25.03 kB / 471.3 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.35e-05/0.1078, allocations: 32.38 kB / 471.3 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006582/0.1085, allocations: 390.5 kB / 471.7 MB, free: 7.691 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.1085, allocations: 7.938 kB / 471.7 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.03e-05/0.1086, allocations: 8 kB / 471.7 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.069e-05/0.1086, allocations: 12.66 kB / 471.7 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005855/0.1092, allocations: 366.4 kB / 472.1 MB, free: 7.305 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.1109, allocations: 1.432 MB / 473.5 MB, free: 5.746 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006727/0.1116, allocations: 385.2 kB / 473.9 MB, free: 5.363 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.1119, allocations: 200.7 kB / 474.1 MB, free: 5.164 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.1119, allocations: 4 kB / 474.1 MB, free: 5.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.1119, allocations: 34.5 kB / 474.1 MB, free: 5.117 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.383e-06/0.1119, allocations: 0 / 474.1 MB, free: 5.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001645/0.1136, allocations: 0.869 MB / 475 MB, free: 4.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.1136, allocations: 63.34 kB / 475.1 MB, free: 4.105 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.1139, allocations: 219.4 kB / 475.3 MB, free: 3.875 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1139, allocations: 25.7 kB / 475.3 MB, free: 3.844 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.114, allocations: 172.3 kB / 475.5 MB, free: 3.668 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.413e-05/0.1141, allocations: 83.19 kB / 475.6 MB, free: 3.586 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.1141, allocations: 25.72 kB / 475.6 MB, free: 3.555 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1143, allocations: 330.8 kB / 475.9 MB, free: 3.223 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.1144, allocations: 119.9 kB / 476 MB, free: 3.105 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.1146, allocations: 121.4 kB / 476.1 MB, free: 2.988 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/0.115, allocations: 285 kB / 476.4 MB, free: 2.707 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.115, allocations: 0 / 476.4 MB, free: 2.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006952/0.1157, allocations: 443.6 kB / 476.9 MB, free: 2.258 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1158, allocations: 4 kB / 476.9 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1158, allocations: 0 / 476.9 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003884/0.1162, allocations: 134.4 kB / 477 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.1164, allocations: 47.91 kB / 477 MB, free: 2.066 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003675/0.12, allocations: 4.695 MB / 481.7 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.1203, allocations: 39.91 kB / 481.8 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.1203, allocations: 8 kB / 481.8 MB, free: 12.92 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.0002309/0.1205, allocations: 205.6 kB / 482 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.404e-05/0.1206, allocations: 15.81 kB / 482 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.085e-05/0.1207, allocations: 29.86 kB / 482 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1207, allocations: 11.94 kB / 482 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.1207, allocations: 4 kB / 482 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1207, allocations: 0 / 482 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.1212, allocations: 425.2 kB / 482.5 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.1212, allocations: 0 / 482.5 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.1214, allocations: 39.97 kB / 482.5 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003164/0.1217, allocations: 138.4 kB / 482.6 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.1218, allocations: 4 kB / 482.6 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003659/0.1254, allocations: 4.708 MB / 487.3 MB, free: 6.891 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.1254, allocations: 3.938 kB / 487.3 MB, free: 6.887 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000966/0.1264, allocations: 0.6715 MB / 488 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.254e-05/0.1265, allocations: 100.9 kB / 488.1 MB, free: 6.074 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.1266, allocations: 12 kB / 488.1 MB, free: 6.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.1267, allocations: 23.92 kB / 488.1 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.448e-05/0.1268, allocations: 19.91 kB / 488.2 MB, free: 6.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.1268, allocations: 12 kB / 488.2 MB, free: 6.008 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001643/0.127, allocations: 164 kB / 488.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.127, allocations: 0 / 488.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005885/0.1276, allocations: 103.8 kB / 488.4 MB, free: 5.746 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.001318/0.1289, allocations: 1.203 MB / 489.6 MB, free: 4.504 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009993/0.1299, allocations: 0.6648 MB / 490.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.13, allocations: 0 / 490.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006262/0.1306, allocations: 0.5272 MB / 490.8 MB, free: 3.234 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.131, allocations: 43.92 kB / 490.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005307/0.1363, allocations: 3.69 MB / 494.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005944/0.1369, allocations: 0.8496 MB / 495.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001653/0.1371, allocations: 53.91 kB / 495.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.1373, allocations: 83.34 kB / 495.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1373, allocations: 4 kB / 495.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/0.1579, allocations: 6.7 MB / 0.4905 GB, free: 7.84 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.1581, allocations: 199.6 kB / 0.4907 GB, free: 7.59 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/1.942, allocations: 0 / 0.4907 GB, free: 7.59 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/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)