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.001162/0.001162, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0436/0.0436, allocations: 8.717 MB / 16.79 MB, free: 3.383 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 221.5 MB / 240.9 MB, free: 13.21 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.0009325/0.0009325, allocations: 93.58 kB / 293.9 MB, free: 7.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.683e-05/1.68e-05, allocations: 0 / 352.7 MB, free: 1.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1178, allocations: 52.55 MB / 405.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4059/0.5237, allocations: 77.63 MB / 482.9 MB, free: 9.414 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001836/0.5239, allocations: 64.81 kB / 483 MB, free: 9.383 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01054/0.5345, allocations: 5.13 MB / 488.1 MB, free: 5.133 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.5345, allocations: 0 / 488.1 MB, free: 5.133 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.5346, allocations: 12 kB / 488.1 MB, free: 5.121 MB / 346.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.0006298/0.5352, allocations: 0.5487 MB / 488.7 MB, free: 4.535 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.5352, allocations: 11.98 kB / 488.7 MB, free: 4.523 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.717e-05/0.5353, allocations: 39.62 kB / 488.7 MB, free: 4.484 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.5357, allocations: 310.5 kB / 489 MB, free: 4.141 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.5357, allocations: 12 kB / 489 MB, free: 4.129 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.5358, allocations: 19.94 kB / 489 MB, free: 4.109 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004319/0.5362, allocations: 317.4 kB / 489.4 MB, free: 3.801 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.5367, allocations: 315.4 kB / 489.7 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.5367, allocations: 0 / 489.7 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.5367, allocations: 0 / 489.7 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.5367, allocations: 12.78 kB / 489.7 MB, free: 3.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.5381, allocations: 1.356 MB / 491 MB, free: 2.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005/0.5386, allocations: 358.5 kB / 491.4 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.5388, allocations: 177.3 kB / 491.6 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.5388, allocations: 4 kB / 491.6 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.5388, allocations: 31.19 kB / 491.6 MB, free: 1.441 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 1.342e-06/0.5388, allocations: 0 / 491.6 MB, free: 1.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006397/0.5395, allocations: 374.5 kB / 492 MB, free: 1.062 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.5395, allocations: 55.41 kB / 492 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.5397, allocations: 174.8 kB / 492.2 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.5397, allocations: 29.7 kB / 492.2 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.5398, allocations: 172.5 kB / 492.4 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.348e-05/0.5399, allocations: 74.84 kB / 492.5 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.5399, allocations: 4 kB / 492.5 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.366e-05/0.5399, allocations: 334.8 kB / 492.8 MB, free: 204 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.5401, allocations: 110.1 kB / 492.9 MB, free: 96 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.5402, allocations: 104.4 kB / 493 MB, free: 15.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.5404, allocations: 127.9 kB / 493.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5404, allocations: 0 / 493.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005953/0.541, allocations: 408.5 kB / 493.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.541, allocations: 12.61 kB / 493.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.5411, allocations: 0 / 493.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003572/0.5414, allocations: 124.6 kB / 493.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.5416, allocations: 35.97 kB / 493.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003729/0.5453, allocations: 4.524 MB / 498.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.5455, allocations: 23.83 kB / 498.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.5455, allocations: 4 kB / 498.2 MB, free: 10.39 MB / 362.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.645e-05/0.5456, allocations: 113 kB / 498.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005929/0.5462, allocations: 369.9 kB / 498.7 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.5463, allocations: 23.67 kB / 498.7 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.75e-05/0.5464, allocations: 29.97 kB / 498.8 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.5464, allocations: 7.938 kB / 498.8 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.5464, allocations: 0 / 498.8 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.5464, allocations: 3.984 kB / 498.8 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.5469, allocations: 357.9 kB / 499.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5469, allocations: 0 / 499.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.5471, allocations: 48.78 kB / 499.2 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002996/0.5474, allocations: 134.9 kB / 499.3 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.5474, allocations: 1.5 kB / 499.3 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003458/0.5509, allocations: 4.524 MB / 0.492 GB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5509, allocations: 0 / 0.492 GB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008535/0.5518, allocations: 0.6259 MB / 0.4926 GB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.788e-05/0.5519, allocations: 100.9 kB / 0.4927 GB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.5519, allocations: 8.812 kB / 0.4927 GB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.5521, allocations: 15.98 kB / 0.4927 GB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.39e-05/0.5521, allocations: 19.83 kB / 0.4928 GB, free: 3.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.5522, allocations: 11.94 kB / 0.4928 GB, free: 3.582 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.5523, allocations: 143.2 kB / 0.4929 GB, free: 3.441 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5523, allocations: 0 / 0.4929 GB, free: 3.441 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006183/0.5529, allocations: 111.7 kB / 0.493 GB, free: 3.332 MB / 362.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.001107/0.554, allocations: 1.166 MB / 0.4942 GB, free: 2.133 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008164/0.5549, allocations: 0.6026 MB / 0.4947 GB, free: 1.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5549, allocations: 0 / 0.4947 GB, free: 1.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005393/0.5554, allocations: 0.4942 MB / 0.4952 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.5557, allocations: 25.48 kB / 0.4953 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.5572, allocations: 0.7964 MB / 0.496 GB, free: 128 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.5577, allocations: 0.8539 MB / 0.4969 GB, free: 15.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.5578, allocations: 50.03 kB / 0.4969 GB, free: 15.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.5579, allocations: 79.41 kB / 0.497 GB, free: 15.12 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5579, allocations: 3.094 kB / 0.497 GB, free: 15.12 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.5823, allocations: 5.676 MB / 0.5025 GB, free: 9.578 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/0.5826, allocations: 123.9 kB / 0.5027 GB, free: 9.387 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.37, allocations: 0 / 0.5027 GB, free: 9.387 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)