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.001715/0.001715, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06146/0.06146, allocations: 8.7 MB / 21.96 MB, free: 3.367 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.596/1.596, allocations: 221.4 MB / 246 MB, free: 3.539 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.0008907/0.0008907, allocations: 90.72 kB / 299.1 MB, free: 2.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.941e-05/3.943e-05, allocations: 0 / 359.6 MB, free: 6.406 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2801, allocations: 52.54 MB / 412.1 MB, free: 22.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1024/0.3826, allocations: 78.31 MB / 490.5 MB, free: 8.109 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.3829, allocations: 67.91 kB / 490.5 MB, free: 8.043 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01259/0.3955, allocations: 5.169 MB / 495.7 MB, free: 2.871 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3955, allocations: 0 / 495.7 MB, free: 2.871 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.3956, allocations: 12 kB / 495.7 MB, free: 2.859 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.0007514/0.3963, allocations: 0.5473 MB / 496.2 MB, free: 2.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.3964, allocations: 8.031 kB / 496.3 MB, free: 2.262 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.035e-05/0.3965, allocations: 78.53 kB / 496.3 MB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.084e-05/0.3966, allocations: 35.62 kB / 496.4 MB, free: 2.141 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004749/0.397, allocations: 314.6 kB / 496.7 MB, free: 1.793 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.3971, allocations: 24.72 kB / 496.7 MB, free: 1.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.748e-05/0.3971, allocations: 28 kB / 496.7 MB, free: 1.742 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006645/0.3978, allocations: 363.6 kB / 497.1 MB, free: 1.379 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.3978, allocations: 7.938 kB / 497.1 MB, free: 1.371 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.3979, allocations: 8 kB / 497.1 MB, free: 1.363 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/0.3979, allocations: 20.78 kB / 497.1 MB, free: 1.344 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005076/0.3984, allocations: 323 kB / 497.4 MB, free: 1.027 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.4002, allocations: 1.425 MB / 498.9 MB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006705/0.4009, allocations: 374.5 kB / 499.2 MB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.4012, allocations: 180.8 kB / 499.4 MB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.4012, allocations: 4 kB / 499.4 MB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.4012, allocations: 34.56 kB / 499.4 MB, free: 14.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 2.284e-06/0.4012, allocations: 0 / 499.4 MB, free: 14.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007871/0.402, allocations: 395.9 kB / 499.8 MB, free: 14.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.4021, allocations: 55.41 kB / 499.9 MB, free: 14.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.4023, allocations: 194.6 kB / 0.4883 GB, free: 14.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.4023, allocations: 29.7 kB / 0.4884 GB, free: 14.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.4024, allocations: 172.1 kB / 0.4885 GB, free: 14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.228e-05/0.4025, allocations: 78.84 kB / 0.4886 GB, free: 13.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.4025, allocations: 8 kB / 0.4886 GB, free: 13.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.4027, allocations: 330.8 kB / 0.4889 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.4028, allocations: 111.9 kB / 0.489 GB, free: 13.47 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.403, allocations: 109 kB / 0.4892 GB, free: 13.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.4032, allocations: 144.2 kB / 0.4893 GB, free: 13.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4032, allocations: 0 / 0.4893 GB, free: 13.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006657/0.4039, allocations: 431.5 kB / 0.4897 GB, free: 12.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4039, allocations: 4 kB / 0.4897 GB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4039, allocations: 0 / 0.4897 GB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004079/0.4043, allocations: 134.5 kB / 0.4898 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.4045, allocations: 35.98 kB / 0.4899 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003842/0.4084, allocations: 4.704 MB / 0.4945 GB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.4086, allocations: 31.91 kB / 0.4945 GB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.4086, allocations: 12 kB / 0.4945 GB, free: 7.453 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 () * 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 9.445e-05/0.4087, allocations: 112.9 kB / 0.4946 GB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.4088, allocations: 27.72 kB / 0.4946 GB, free: 7.309 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.612e-05/0.4089, allocations: 29.64 kB / 0.4947 GB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.4089, allocations: 7.938 kB / 0.4947 GB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.4089, allocations: 0 / 0.4947 GB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4089, allocations: 4 kB / 0.4947 GB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004942/0.4094, allocations: 421.2 kB / 0.4951 GB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.4094, allocations: 3.953 kB / 0.4951 GB, free: 6.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.4096, allocations: 47.91 kB / 0.4951 GB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003078/0.41, allocations: 126.5 kB / 0.4952 GB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.41, allocations: 11.94 kB / 0.4953 GB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003706/0.4137, allocations: 4.689 MB / 0.4998 GB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4137, allocations: 0 / 0.4998 GB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009183/0.4147, allocations: 0.6579 MB / 0.5005 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.4148, allocations: 100.9 kB / 0.5006 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.4148, allocations: 8.031 kB / 0.5006 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.415, allocations: 15.98 kB / 0.5006 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.4151, allocations: 27.92 kB / 0.5006 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.4151, allocations: 4 kB / 0.5006 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001531/0.4152, allocations: 164 kB / 0.5008 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4153, allocations: 0 / 0.5008 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005596/0.4158, allocations: 107.7 kB / 0.5009 GB, free: 416 kB / 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 () * 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.2715/0.6873, allocations: 1.18 MB / 0.502 GB, free: 92.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.6886, allocations: 0.6235 MB / 0.5027 GB, free: 92.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.6886, allocations: 2.531 kB / 0.5027 GB, free: 92.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006736/0.6893, allocations: 0.5192 MB / 0.5032 GB, free: 92.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.6898, allocations: 47.33 kB / 0.5032 GB, free: 92.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.6917, allocations: 0.8131 MB / 0.504 GB, free: 91.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.6921, allocations: 0.8562 MB / 0.5048 GB, free: 91.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001962/0.6923, allocations: 52.69 kB / 0.5049 GB, free: 91.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.6925, allocations: 80.39 kB / 0.505 GB, free: 91.23 MB / 378.7 MB Notification: Performance of SimCode: time 4.6e-07/0.6925, allocations: 0 / 0.505 GB, free: 91.23 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.7208, allocations: 6.578 MB / 0.5114 GB, free: 90.5 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/0.721, allocations: 158.4 kB / 0.5115 GB, free: 90.28 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.507, allocations: 0 / 0.5115 GB, free: 90.28 MB / 378.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)