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.001277/0.001276, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.3/1.3, allocations: 222.9 MB / 239 MB, free: 4.652 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.001516/0.001516, allocations: 192.4 kB / 289.3 MB, free: 2.387 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03347/0.03347, allocations: 8.805 MB / 348.2 MB, free: 4.836 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 75.94 kB / 410.7 MB, free: 42.31 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0732/0.07466, allocations: 51.56 MB / 462.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.003166/0.07787, allocations: 2.062 MB / 464.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000314/0.07821, allocations: 159.5 kB / 464.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.12e-05/0.0783, allocations: 8 kB / 464.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.07844, allocations: 19.86 kB / 464.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.07866, allocations: 59.58 kB / 464.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.0788, allocations: 31.98 kB / 464.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004541/0.07926, allocations: 497.9 kB / 465.1 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003834/0.07965, allocations: 289.7 kB / 465.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.07983, allocations: 179.5 kB / 465.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.08005, allocations: 195.3 kB / 465.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.819e-05/0.08012, allocations: 44 kB / 465.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.402e-05/0.08019, allocations: 48 kB / 465.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.463e-05/0.08029, allocations: 95.77 kB / 465.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.08047, allocations: 215.1 kB / 466.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004301/0.0809, allocations: 0.5456 MB / 466.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.08092, allocations: 0 / 466.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.08092, allocations: 0 / 466.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.08094, allocations: 0 / 466.7 MB, free: 10.22 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.0009889/0.08193, allocations: 0.6473 MB / 467.3 MB, free: 9.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.08198, allocations: 12.03 kB / 467.3 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.158e-05/0.08205, allocations: 66.72 kB / 467.4 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.08212, allocations: 32.56 kB / 467.4 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.08246, allocations: 311.8 kB / 467.7 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.08249, allocations: 21.03 kB / 467.7 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.691e-05/0.08255, allocations: 36.28 kB / 467.8 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006179/0.08318, allocations: 386.5 kB / 468.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.08321, allocations: 11.94 kB / 468.2 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.08324, allocations: 12 kB / 468.2 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.08327, allocations: 8.656 kB / 468.2 MB, free: 8.586 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000563/0.08384, allocations: 362.3 kB / 468.5 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.08542, allocations: 1.413 MB / 470 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006572/0.08609, allocations: 384.6 kB / 470.3 MB, free: 6.312 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.08637, allocations: 207 kB / 470.5 MB, free: 6.109 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.0864, allocations: 4 kB / 470.5 MB, free: 6.105 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.08643, allocations: 30.56 kB / 470.6 MB, free: 6.066 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 2.826e-06/0.08644, allocations: 0 / 470.6 MB, free: 6.066 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001532/0.08798, allocations: 0.8659 MB / 471.4 MB, free: 5.133 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.08803, allocations: 63.28 kB / 471.5 MB, free: 5.059 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.08823, allocations: 223.4 kB / 471.7 MB, free: 4.828 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.08825, allocations: 25.7 kB / 471.7 MB, free: 4.797 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.109e-05/0.08834, allocations: 168.3 kB / 471.9 MB, free: 4.629 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.46e-05/0.08841, allocations: 78.77 kB / 472 MB, free: 4.551 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.08849, allocations: 41.7 kB / 472 MB, free: 4.504 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.08859, allocations: 334.8 kB / 472.3 MB, free: 4.168 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.08878, allocations: 115.9 kB / 472.5 MB, free: 4.055 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.08895, allocations: 117.5 kB / 472.6 MB, free: 3.941 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.08932, allocations: 280.9 kB / 472.8 MB, free: 3.664 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.08933, allocations: 0 / 472.8 MB, free: 3.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006613/0.09, allocations: 431.6 kB / 473.3 MB, free: 3.227 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.09002, allocations: 6.188 kB / 473.3 MB, free: 3.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.09004, allocations: 4 kB / 473.3 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003656/0.09041, allocations: 142.4 kB / 473.4 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.09058, allocations: 35.97 kB / 473.5 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003632/0.09422, allocations: 5.168 MB / 478.6 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.09442, allocations: 31.84 kB / 478.6 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.09444, allocations: 8 kB / 478.7 MB, free: 13.41 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.0002184/0.09466, allocations: 205.7 kB / 478.9 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.09472, allocations: 23.66 kB / 478.9 MB, free: 13.17 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.34e-05/0.09479, allocations: 33.86 kB / 478.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.0948, allocations: 0 / 478.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.09481, allocations: 4 kB / 478.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.09482, allocations: 0 / 478.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.09528, allocations: 421.3 kB / 479.3 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.09529, allocations: 0 / 479.3 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.0955, allocations: 43.97 kB / 479.4 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000304/0.09582, allocations: 138.3 kB / 479.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.09585, allocations: 4 kB / 479.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00357/0.09942, allocations: 5.164 MB / 484.7 MB, free: 6.902 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.09944, allocations: 3.984 kB / 484.7 MB, free: 6.898 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009285/0.1004, allocations: 0.6653 MB / 485.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.442e-05/0.1005, allocations: 100.9 kB / 485.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.1005, allocations: 11.94 kB / 485.5 MB, free: 6.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.1007, allocations: 23.91 kB / 485.5 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.1007, allocations: 15.98 kB / 485.5 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.1008, allocations: 12 kB / 485.5 MB, free: 6.027 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001506/0.1009, allocations: 165.2 kB / 485.7 MB, free: 5.867 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1009, allocations: 0 / 485.7 MB, free: 5.867 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005707/0.1015, allocations: 107.7 kB / 485.8 MB, free: 5.762 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.001174/0.1027, allocations: 1.205 MB / 487 MB, free: 4.523 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009077/0.1036, allocations: 0.6872 MB / 487.7 MB, free: 3.797 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1036, allocations: 0 / 487.7 MB, free: 3.797 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005467/0.1042, allocations: 0.5155 MB / 488.2 MB, free: 3.242 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.1045, allocations: 49.66 kB / 488.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004231/0.1088, allocations: 3.61 MB / 491.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.1092, allocations: 0.8536 MB / 492.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.1093, allocations: 49.89 kB / 492.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.1094, allocations: 79.59 kB / 492.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1094, allocations: 0 / 492.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02594/0.1354, allocations: 7.049 MB / 499.9 MB, free: 7.562 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/0.1357, allocations: 204.2 kB / 0.4883 GB, free: 7.312 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/1.961, allocations: 0 / 0.4883 GB, free: 7.312 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)