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.004696/0.004697, allocations: 98.86 kB / 15.73 MB, free: 6.043 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.338/1.338, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001549/0.001549, allocations: 184.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03581/0.03581, allocations: 8.799 MB / 348.7 MB, free: 4.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 91.84 kB / 463.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09446/0.0967, allocations: 51.56 MB / 0.5029 GB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.00307/0.09981, allocations: 1.997 MB / 0.5048 GB, free: 8.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003559/0.1002, allocations: 163.5 kB / 0.505 GB, free: 7.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.169e-05/0.1003, allocations: 4 kB / 0.505 GB, free: 7.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.1004, allocations: 27.72 kB / 0.505 GB, free: 7.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.1006, allocations: 67.52 kB / 0.5051 GB, free: 7.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.1008, allocations: 43.91 kB / 0.5051 GB, free: 7.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005106/0.1013, allocations: 497.9 kB / 0.5056 GB, free: 7.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004151/0.1017, allocations: 293.6 kB / 0.5059 GB, free: 7.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.1019, allocations: 187.4 kB / 0.5061 GB, free: 6.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.1022, allocations: 183.3 kB / 0.5062 GB, free: 6.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.883e-05/0.1023, allocations: 48 kB / 0.5063 GB, free: 6.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.823e-05/0.1023, allocations: 48 kB / 0.5063 GB, free: 6.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.1025, allocations: 103.7 kB / 0.5064 GB, free: 6.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.1027, allocations: 211.1 kB / 0.5066 GB, free: 6.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005291/0.1032, allocations: 0.5412 MB / 0.5072 GB, free: 5.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1032, allocations: 4 kB / 0.5072 GB, free: 5.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1032, allocations: 0 / 0.5072 GB, free: 5.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1033, allocations: 4 kB / 0.5072 GB, free: 5.734 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.001061/0.1043, allocations: 0.6508 MB / 0.5078 GB, free: 5.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1044, allocations: 8.031 kB / 0.5078 GB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.82e-05/0.1044, allocations: 66.72 kB / 0.5079 GB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.857e-05/0.1045, allocations: 40.75 kB / 0.5079 GB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.1049, allocations: 311.8 kB / 0.5082 GB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.1049, allocations: 24.97 kB / 0.5082 GB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.985e-05/0.105, allocations: 32.38 kB / 0.5083 GB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006256/0.1056, allocations: 382.5 kB / 0.5086 GB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.1057, allocations: 7.938 kB / 0.5086 GB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/0.1057, allocations: 15.94 kB / 0.5087 GB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.1058, allocations: 16.59 kB / 0.5087 GB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005914/0.1063, allocations: 362.4 kB / 0.509 GB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.1081, allocations: 1.425 MB / 0.5104 GB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006743/0.1087, allocations: 382.5 kB / 0.5108 GB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.109, allocations: 195.3 kB / 0.511 GB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.1091, allocations: 0 / 0.511 GB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.1091, allocations: 34.56 kB / 0.511 GB, free: 1.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.112e-06/0.1091, allocations: 0 / 0.511 GB, free: 1.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001605/0.1107, allocations: 0.8608 MB / 0.5118 GB, free: 0.6367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.1108, allocations: 59.34 kB / 0.5119 GB, free: 0.5664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.111, allocations: 215.5 kB / 0.5121 GB, free: 348 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.111, allocations: 29.69 kB / 0.5121 GB, free: 312 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.1111, allocations: 172.6 kB / 0.5123 GB, free: 136 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.674e-05/0.1112, allocations: 87.62 kB / 0.5124 GB, free: 48 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.597e-05/0.1113, allocations: 45.69 kB / 0.5124 GB, free: 15.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1114, allocations: 330.8 kB / 0.5127 GB, free: 15.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.1116, allocations: 115.9 kB / 0.5128 GB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.1118, allocations: 119.9 kB / 0.513 GB, free: 15.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/0.1122, allocations: 268.7 kB / 0.5132 GB, free: 15.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1122, allocations: 4 kB / 0.5132 GB, free: 15.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006988/0.1129, allocations: 436.1 kB / 0.5136 GB, free: 14.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.113, allocations: 7.984 kB / 0.5136 GB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.113, allocations: 0 / 0.5136 GB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000389/0.1134, allocations: 138.4 kB / 0.5138 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.1135, allocations: 43.91 kB / 0.5138 GB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004172/0.1177, allocations: 5.16 MB / 0.5189 GB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.1179, allocations: 23.91 kB / 0.5189 GB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.1179, allocations: 8 kB / 0.5189 GB, free: 8.918 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.0002037/0.1181, allocations: 205.7 kB / 0.5191 GB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.1181, allocations: 27.78 kB / 0.5191 GB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.114e-05/0.1182, allocations: 29.88 kB / 0.5191 GB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1182, allocations: 0 / 0.5191 GB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.1182, allocations: 4 kB / 0.5191 GB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1182, allocations: 3.938 kB / 0.5191 GB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004767/0.1187, allocations: 429.2 kB / 0.5196 GB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1187, allocations: 0 / 0.5196 GB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.1189, allocations: 39.97 kB / 0.5196 GB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000304/0.1192, allocations: 142.3 kB / 0.5197 GB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.1193, allocations: 4 kB / 0.5197 GB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004007/0.1233, allocations: 5.168 MB / 0.5248 GB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1233, allocations: 3.984 kB / 0.5248 GB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009608/0.1243, allocations: 0.6731 MB / 0.5254 GB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.248e-05/0.1244, allocations: 96.95 kB / 0.5255 GB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.1244, allocations: 8 kB / 0.5255 GB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.1245, allocations: 12.03 kB / 0.5256 GB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.1246, allocations: 19.97 kB / 0.5256 GB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.1246, allocations: 4 kB / 0.5256 GB, free: 1.535 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.1248, allocations: 169.2 kB / 0.5257 GB, free: 1.371 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1248, allocations: 3.938 kB / 0.5257 GB, free: 1.367 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005348/0.1253, allocations: 103.8 kB / 0.5258 GB, free: 1.266 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.001247/0.1266, allocations: 1.21 MB / 0.527 GB, free: 24 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.171/0.2976, allocations: 0.638 MB / 0.5276 GB, free: 24.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.2977, allocations: 2.656 kB / 0.5276 GB, free: 24.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004872/0.2982, allocations: 0.526 MB / 0.5282 GB, free: 23.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.2986, allocations: 48.44 kB / 0.5282 GB, free: 23.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003743/0.3024, allocations: 3.497 MB / 0.5316 GB, free: 22.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.3027, allocations: 0.8452 MB / 0.5325 GB, free: 21.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.3029, allocations: 55.97 kB / 0.5325 GB, free: 21.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.303, allocations: 73.62 kB / 0.5326 GB, free: 21.77 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.303, allocations: 0 / 0.5326 GB, free: 21.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04226/0.3453, allocations: 7.277 MB / 0.5397 GB, free: 21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.708/10.05, allocations: 8.219 kB / 0.5397 GB, free: 21 MB / 366.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)