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.00128/0.00128, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 239.2 MB, free: 4.598 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.001341/0.001341, allocations: 196.4 kB / 289.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03523/0.03523, allocations: 8.793 MB / 348.5 MB, free: 4.695 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 80.39 kB / 411.2 MB, free: 42.06 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09534/0.09711, allocations: 51.56 MB / 462.7 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.003386/0.1005, allocations: 2 MB / 464.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003685/0.1009, allocations: 167.5 kB / 464.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.275e-05/0.101, allocations: 4 kB / 464.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.1012, allocations: 19.8 kB / 464.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.1013, allocations: 71.45 kB / 465 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.1015, allocations: 39.97 kB / 465 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004412/0.1019, allocations: 0.4901 MB / 465.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003652/0.1023, allocations: 281.7 kB / 465.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.1025, allocations: 187.4 kB / 466 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.1027, allocations: 191.3 kB / 466.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.946e-05/0.1028, allocations: 44 kB / 466.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-05/0.1029, allocations: 48 kB / 466.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.984e-05/0.103, allocations: 95.75 kB / 466.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.1032, allocations: 211.2 kB / 466.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004618/0.1036, allocations: 0.5456 MB / 467.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1036, allocations: 0 / 467.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1037, allocations: 4 kB / 467.1 MB, free: 9.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1037, allocations: 4 kB / 467.1 MB, free: 9.836 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.001106/0.1048, allocations: 0.645 MB / 467.8 MB, free: 9.141 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1048, allocations: 12.03 kB / 467.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.688e-05/0.1049, allocations: 74.72 kB / 467.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.787e-05/0.105, allocations: 32.56 kB / 467.9 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.1054, allocations: 311.7 kB / 468.2 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.1054, allocations: 21.03 kB / 468.2 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.59e-05/0.1055, allocations: 36.27 kB / 468.2 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006115/0.1061, allocations: 394.5 kB / 468.6 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.1061, allocations: 3.938 kB / 468.6 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.1062, allocations: 16 kB / 468.6 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/0.1062, allocations: 12.66 kB / 468.7 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005978/0.1068, allocations: 362.3 kB / 469 MB, free: 7.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.1086, allocations: 1.417 MB / 470.4 MB, free: 6.297 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006636/0.1092, allocations: 386.5 kB / 470.8 MB, free: 5.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.1095, allocations: 192.7 kB / 471 MB, free: 5.719 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.1095, allocations: 8 kB / 471 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.1096, allocations: 34.5 kB / 471 MB, free: 5.668 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.593e-06/0.1096, allocations: 4 kB / 471 MB, free: 5.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001581/0.1112, allocations: 0.8542 MB / 471.9 MB, free: 4.742 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.1112, allocations: 63.28 kB / 472 MB, free: 4.668 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.1114, allocations: 211.5 kB / 472.2 MB, free: 4.449 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.1115, allocations: 29.7 kB / 472.2 MB, free: 4.414 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.1116, allocations: 172.3 kB / 472.4 MB, free: 4.242 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.844e-05/0.1117, allocations: 87.12 kB / 472.4 MB, free: 4.156 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.342e-05/0.1118, allocations: 41.7 kB / 472.5 MB, free: 4.109 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1119, allocations: 330.8 kB / 472.8 MB, free: 3.777 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.1121, allocations: 119.9 kB / 472.9 MB, free: 3.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.1123, allocations: 113.5 kB / 473 MB, free: 3.551 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/0.1127, allocations: 277 kB / 473.3 MB, free: 3.277 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1127, allocations: 4 kB / 473.3 MB, free: 3.273 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006931/0.1134, allocations: 431.6 kB / 473.7 MB, free: 2.836 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1134, allocations: 10.03 kB / 473.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1134, allocations: 0 / 473.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004247/0.1139, allocations: 146.4 kB / 473.9 MB, free: 2.676 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.1141, allocations: 35.97 kB / 473.9 MB, free: 2.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00412/0.1182, allocations: 5.156 MB / 479.1 MB, free: 13.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.1183, allocations: 23.86 kB / 479.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.1184, allocations: 8 kB / 479.1 MB, free: 13.03 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.0002332/0.1186, allocations: 205.6 kB / 479.3 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/0.1187, allocations: 23.66 kB / 479.3 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.396e-05/0.1187, allocations: 33.86 kB / 479.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1187, allocations: 8.062 kB / 479.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.1188, allocations: 3.938 kB / 479.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1188, allocations: 0 / 479.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.1192, allocations: 421.3 kB / 479.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1192, allocations: 0 / 479.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.1195, allocations: 39.97 kB / 479.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003029/0.1198, allocations: 146.5 kB / 480 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.1198, allocations: 8 kB / 480 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004071/0.1239, allocations: 5.164 MB / 485.1 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1239, allocations: 0 / 485.1 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009634/0.1249, allocations: 0.6691 MB / 485.8 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.475e-05/0.125, allocations: 101.2 kB / 485.9 MB, free: 5.699 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.125, allocations: 4 kB / 485.9 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.1251, allocations: 19.98 kB / 485.9 MB, free: 5.676 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/0.1252, allocations: 23.95 kB / 486 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.1252, allocations: 4 kB / 486 MB, free: 5.648 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.1254, allocations: 165.2 kB / 486.1 MB, free: 5.488 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1254, allocations: 0 / 486.1 MB, free: 5.488 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005582/0.126, allocations: 103.7 kB / 486.2 MB, free: 5.387 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.001197/0.1272, allocations: 1.212 MB / 487.4 MB, free: 4.145 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009992/0.1282, allocations: 0.6717 MB / 488.1 MB, free: 3.434 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.1282, allocations: 0 / 488.1 MB, free: 3.434 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005836/0.1288, allocations: 0.5272 MB / 488.6 MB, free: 2.867 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.1292, allocations: 51.91 kB / 488.7 MB, free: 2.816 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/0.1335, allocations: 3.499 MB / 492.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.134, allocations: 0.8497 MB / 493 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000134/0.1341, allocations: 49.89 kB / 493.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.1342, allocations: 87.41 kB / 493.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1342, allocations: 0 / 493.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03262/0.1669, allocations: 7.103 MB / 0.4885 GB, free: 7.191 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.377/9.544, allocations: 11.58 kB / 0.4886 GB, free: 7.184 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)