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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.005417/0.005417, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04153/0.04153, allocations: 8.798 MB / 24.65 MB, free: 4.117 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 223.2 MB / 250.7 MB, free: 4.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008939/0.0008937, allocations: 98.77 kB / 304 MB, free: 3.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003959, allocations: 16 kB / 367.2 MB, free: 6.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09987/0.1003, allocations: 52.54 MB / 419.7 MB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2582/0.3585, allocations: 78.36 MB / 498.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001874/0.3588, allocations: 63.97 kB / 498.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01185/0.3706, allocations: 5.167 MB / 0.4915 GB, free: 8.941 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3707, allocations: 3.406 kB / 0.4915 GB, free: 8.941 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.3707, allocations: 4 kB / 0.4915 GB, free: 8.938 MB / 362.7 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.00077/0.3715, allocations: 0.5885 MB / 0.4921 GB, free: 8.309 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3715, allocations: 12.5 kB / 0.4921 GB, free: 8.297 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.309e-05/0.3716, allocations: 70.53 kB / 0.4922 GB, free: 8.219 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.3717, allocations: 44.41 kB / 0.4922 GB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.3721, allocations: 310.5 kB / 0.4925 GB, free: 7.836 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.3721, allocations: 20.66 kB / 0.4925 GB, free: 7.816 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.403e-05/0.3722, allocations: 28 kB / 0.4925 GB, free: 7.789 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005813/0.3728, allocations: 370.5 kB / 0.4929 GB, free: 7.422 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.3728, allocations: 3.984 kB / 0.4929 GB, free: 7.418 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.3729, allocations: 16 kB / 0.4929 GB, free: 7.402 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/0.3729, allocations: 16.66 kB / 0.4929 GB, free: 7.383 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005161/0.3734, allocations: 339.4 kB / 0.4933 GB, free: 7.055 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.3751, allocations: 1.424 MB / 0.4946 GB, free: 5.512 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006743/0.3758, allocations: 382.5 kB / 0.495 GB, free: 5.129 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.3758, allocations: 4 kB / 0.495 GB, free: 5.125 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.3758, allocations: 35.31 kB / 0.495 GB, free: 5.082 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.663e-06/0.3758, allocations: 4 kB / 0.4951 GB, free: 5.078 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001568/0.3774, allocations: 0.8629 MB / 0.4959 GB, free: 4.148 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.3775, allocations: 55.81 kB / 0.4959 GB, free: 4.082 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.3777, allocations: 194.6 kB / 0.4961 GB, free: 3.879 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.3777, allocations: 33.7 kB / 0.4962 GB, free: 3.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.757e-05/0.3778, allocations: 168.3 kB / 0.4963 GB, free: 3.672 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.381e-05/0.3779, allocations: 87.14 kB / 0.4964 GB, free: 3.586 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-06/0.3779, allocations: 0.5625 kB / 0.4964 GB, free: 3.586 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.378, allocations: 338.8 kB / 0.4967 GB, free: 3.246 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.3782, allocations: 119.9 kB / 0.4968 GB, free: 3.129 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.3784, allocations: 115.9 kB / 0.497 GB, free: 3.016 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.3786, allocations: 145 kB / 0.4971 GB, free: 2.879 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3786, allocations: 0 / 0.4971 GB, free: 2.879 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006607/0.3793, allocations: 441.4 kB / 0.4975 GB, free: 2.434 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3793, allocations: 4 kB / 0.4975 GB, free: 2.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.3793, allocations: 0 / 0.4975 GB, free: 2.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003638/0.3797, allocations: 141.1 kB / 0.4977 GB, free: 2.285 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.3799, allocations: 43.91 kB / 0.4977 GB, free: 2.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003877/0.3838, allocations: 4.733 MB / 0.5023 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.384, allocations: 39.91 kB / 0.5024 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.384, allocations: 4 kB / 0.5024 GB, free: 13.08 MB / 378.7 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.0002337/0.3842, allocations: 193.8 kB / 0.5025 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.3843, allocations: 24.58 kB / 0.5026 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.873e-05/0.3844, allocations: 33.67 kB / 0.5026 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.3844, allocations: 8 kB / 0.5026 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.3844, allocations: 1.031 kB / 0.5026 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3844, allocations: 3.984 kB / 0.5026 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/0.3849, allocations: 417.2 kB / 0.503 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.3849, allocations: 3.984 kB / 0.503 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.3851, allocations: 49.34 kB / 0.5031 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003115/0.3855, allocations: 130.5 kB / 0.5032 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.3855, allocations: 11.95 kB / 0.5032 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003712/0.3892, allocations: 4.739 MB / 0.5078 GB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3892, allocations: 0 / 0.5078 GB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009485/0.3902, allocations: 0.6746 MB / 0.5085 GB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.577e-05/0.3903, allocations: 104.9 kB / 0.5086 GB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.3903, allocations: 10.41 kB / 0.5086 GB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.3905, allocations: 19.89 kB / 0.5086 GB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.3906, allocations: 19.97 kB / 0.5086 GB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.3906, allocations: 4 kB / 0.5086 GB, free: 6.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001595/0.3907, allocations: 165.2 kB / 0.5088 GB, free: 6 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3907, allocations: 0 / 0.5088 GB, free: 6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005537/0.3913, allocations: 115.6 kB / 0.5089 GB, free: 5.887 MB / 378.7 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.001226/0.3925, allocations: 1.204 MB / 0.5101 GB, free: 4.648 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008992/0.3935, allocations: 0.6557 MB / 0.5107 GB, free: 3.957 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3935, allocations: 0 / 0.5107 GB, free: 3.957 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005678/0.394, allocations: 0.5232 MB / 0.5112 GB, free: 3.395 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.3943, allocations: 53.78 kB / 0.5113 GB, free: 3.348 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.3974, allocations: 2.168 MB / 0.5134 GB, free: 1.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.3979, allocations: 0.8572 MB / 0.5142 GB, free: 284 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001406/0.398, allocations: 48.77 kB / 0.5143 GB, free: 240 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.3981, allocations: 87.41 kB / 0.5144 GB, free: 152 kB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3982, allocations: 3.938 kB / 0.5144 GB, free: 148 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.4162, allocations: 6.545 MB / 0.5208 GB, free: 9.906 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/0.4164, allocations: 192.2 kB / 0.5209 GB, free: 9.664 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.129, allocations: 3.938 kB / 0.5209 GB, free: 9.66 MB / 394.7 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)