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.0008935/0.0008935, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.409/1.409, allocations: 223.2 MB / 239 MB, free: 5.457 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.001287/0.001287, allocations: 180.5 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03395/0.03395, allocations: 8.779 MB / 350.1 MB, free: 4.672 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003177, allocations: 10.72 kB / 413.3 MB, free: 42.93 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07748/0.07781, allocations: 52.56 MB / 465.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.001753/0.07959, allocations: 1.658 MB / 467.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002803/0.07989, allocations: 155.5 kB / 467.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.667e-05/0.07995, allocations: 4 kB / 467.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.133e-05/0.08004, allocations: 19.84 kB / 467.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.0802, allocations: 67.52 kB / 467.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.451e-05/0.08029, allocations: 23.92 kB / 467.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.08069, allocations: 466 kB / 468.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002551/0.08095, allocations: 192.7 kB / 468.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.08107, allocations: 127.6 kB / 468.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.08124, allocations: 143.4 kB / 468.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.08128, allocations: 16 kB / 468.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.125e-05/0.08133, allocations: 20 kB / 468.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.743e-05/0.0814, allocations: 55.77 kB / 468.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.086e-05/0.08148, allocations: 97.52 kB / 468.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.08182, allocations: 451.1 kB / 469.3 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.08183, allocations: 0 / 469.3 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.08184, allocations: 0 / 469.3 MB, free: 9.918 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.08185, allocations: 4 kB / 469.3 MB, free: 9.914 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.0008127/0.08267, allocations: 0.5847 MB / 469.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.08271, allocations: 19.97 kB / 469.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.706e-05/0.08279, allocations: 70.53 kB / 470 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/0.08286, allocations: 35.58 kB / 470 MB, free: 9.148 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.08317, allocations: 306.5 kB / 470.3 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.0832, allocations: 20.66 kB / 470.3 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.387e-05/0.08326, allocations: 35.98 kB / 470.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005902/0.08385, allocations: 386 kB / 470.7 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.08388, allocations: 0 / 470.7 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.08391, allocations: 15.92 kB / 470.8 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.08394, allocations: 20.61 kB / 470.8 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005474/0.08449, allocations: 362.4 kB / 471.1 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.08594, allocations: 1.417 MB / 472.5 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005884/0.08655, allocations: 396 kB / 472.9 MB, free: 6.043 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.08681, allocations: 196.8 kB / 473.1 MB, free: 5.848 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.08684, allocations: 0 / 473.1 MB, free: 5.848 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.08686, allocations: 42.56 kB / 473.2 MB, free: 5.797 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.022e-06/0.08687, allocations: 0 / 473.2 MB, free: 5.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001427/0.0883, allocations: 0.8688 MB / 474 MB, free: 4.859 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.08833, allocations: 51.41 kB / 474.1 MB, free: 4.797 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.08853, allocations: 215.5 kB / 474.3 MB, free: 4.574 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.08856, allocations: 25.7 kB / 474.3 MB, free: 4.543 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.551e-05/0.08865, allocations: 172.3 kB / 474.5 MB, free: 4.367 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.329e-05/0.08872, allocations: 78.91 kB / 474.6 MB, free: 4.289 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/0.08873, allocations: 4 kB / 474.6 MB, free: 4.285 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.66e-05/0.08884, allocations: 334.8 kB / 474.9 MB, free: 3.949 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.08902, allocations: 115.9 kB / 475 MB, free: 3.836 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.0892, allocations: 117.5 kB / 475.1 MB, free: 3.723 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.08942, allocations: 156.2 kB / 475.3 MB, free: 3.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.08943, allocations: 0 / 475.3 MB, free: 3.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000652/0.09008, allocations: 439.5 kB / 475.7 MB, free: 3.125 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.09011, allocations: 4 kB / 475.7 MB, free: 3.121 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.09012, allocations: 7.984 kB / 475.7 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003387/0.09046, allocations: 134.5 kB / 475.8 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.09063, allocations: 39.97 kB / 475.9 MB, free: 2.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003376/0.09402, allocations: 4.696 MB / 480.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.0942, allocations: 35.91 kB / 480.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.09422, allocations: 8 kB / 480.6 MB, free: 13.8 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.0002058/0.09446, allocations: 209.6 kB / 480.8 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.09452, allocations: 23.69 kB / 480.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.867e-05/0.09459, allocations: 37.83 kB / 480.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.09461, allocations: 7.984 kB / 480.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.09462, allocations: 0 / 480.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.09463, allocations: 0 / 480.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004619/0.09509, allocations: 421.3 kB / 481.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.09511, allocations: 0 / 481.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.0953, allocations: 43.97 kB / 481.4 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002902/0.0956, allocations: 134.6 kB / 481.5 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.09563, allocations: 4 kB / 481.5 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003521/0.09916, allocations: 4.695 MB / 486.2 MB, free: 7.766 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.09918, allocations: 128 / 486.2 MB, free: 7.766 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009548/0.1001, allocations: 0.6754 MB / 486.9 MB, free: 7.066 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.608e-05/0.1002, allocations: 104.9 kB / 487 MB, free: 6.945 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.1003, allocations: 4.047 kB / 487 MB, free: 6.941 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.1004, allocations: 23.88 kB / 487 MB, free: 6.918 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.1005, allocations: 19.97 kB / 487 MB, free: 6.898 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.1005, allocations: 4 kB / 487 MB, free: 6.895 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001507/0.1007, allocations: 165.2 kB / 487.2 MB, free: 6.734 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1007, allocations: 4 kB / 487.2 MB, free: 6.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005368/0.1012, allocations: 103.7 kB / 487.3 MB, free: 6.629 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.001204/0.1024, allocations: 1.199 MB / 488.5 MB, free: 5.391 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009149/0.1033, allocations: 0.6646 MB / 489.1 MB, free: 4.688 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1034, allocations: 0 / 489.1 MB, free: 4.688 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005737/0.1039, allocations: 0.5311 MB / 489.7 MB, free: 4.117 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.1043, allocations: 50.3 kB / 489.7 MB, free: 4.066 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/0.1074, allocations: 2.174 MB / 491.9 MB, free: 1.852 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.1078, allocations: 0.8535 MB / 492.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.108, allocations: 57.89 kB / 492.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.1081, allocations: 83.34 kB / 492.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1081, allocations: 0 / 492.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01615/0.1243, allocations: 6.565 MB / 499.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.1245, allocations: 199.3 kB / 499.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/1.882, allocations: 0 / 499.6 MB, free: 10.16 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: