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.00624/0.00624, allocations: 103.5 kB / 15.73 MB, free: 6.445 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.445/1.445, allocations: 222.9 MB / 239.4 MB, free: 4.5 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.001675/0.001675, allocations: 188.5 kB / 289.7 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03457/0.03457, allocations: 8.793 MB / 348.7 MB, free: 4.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002863/0.002863, allocations: 79.86 kB / 463.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1308, allocations: 51.56 MB / 0.5029 GB, free: 9.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.003208/0.1341, allocations: 2.001 MB / 0.5048 GB, free: 7.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004999/0.1346, allocations: 167.4 kB / 0.505 GB, free: 7.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.1347, allocations: 4 kB / 0.505 GB, free: 7.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.1349, allocations: 19.78 kB / 0.505 GB, free: 7.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.1351, allocations: 71.45 kB / 0.5051 GB, free: 7.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.1353, allocations: 35.97 kB / 0.5051 GB, free: 7.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005357/0.1359, allocations: 497.9 kB / 0.5056 GB, free: 7.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004779/0.1364, allocations: 301.7 kB / 0.5059 GB, free: 6.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.1366, allocations: 183.4 kB / 0.5061 GB, free: 6.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003315/0.137, allocations: 187.3 kB / 0.5062 GB, free: 6.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.94e-05/0.137, allocations: 48 kB / 0.5063 GB, free: 6.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.021e-05/0.1371, allocations: 44 kB / 0.5063 GB, free: 6.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.1373, allocations: 103.7 kB / 0.5064 GB, free: 6.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002601/0.1375, allocations: 211.1 kB / 0.5066 GB, free: 6.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00054/0.1381, allocations: 0.5495 MB / 0.5072 GB, free: 5.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1381, allocations: 0 / 0.5072 GB, free: 5.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1381, allocations: 0 / 0.5072 GB, free: 5.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.1381, allocations: 4 kB / 0.5072 GB, free: 5.578 MB / 350.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.001236/0.1394, allocations: 0.6395 MB / 0.5078 GB, free: 4.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1394, allocations: 12.03 kB / 0.5078 GB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.054e-05/0.1395, allocations: 70.72 kB / 0.5079 GB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.923e-05/0.1396, allocations: 32.56 kB / 0.5079 GB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.14, allocations: 307.8 kB / 0.5082 GB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.14, allocations: 25.03 kB / 0.5082 GB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.491e-05/0.1401, allocations: 32.38 kB / 0.5083 GB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006483/0.1407, allocations: 386.5 kB / 0.5086 GB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.1408, allocations: 3.938 kB / 0.5086 GB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.1408, allocations: 15.98 kB / 0.5086 GB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.1408, allocations: 16.59 kB / 0.5087 GB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006238/0.1415, allocations: 362.3 kB / 0.509 GB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.1432, allocations: 1.413 MB / 0.5104 GB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006706/0.1439, allocations: 398.3 kB / 0.5108 GB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/0.1442, allocations: 192.7 kB / 0.511 GB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.1443, allocations: 0 / 0.511 GB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1443, allocations: 38.55 kB / 0.511 GB, free: 1.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.373e-06/0.1443, allocations: 0 / 0.511 GB, free: 1.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001578/0.1459, allocations: 0.8491 MB / 0.5118 GB, free: 0.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.1459, allocations: 63.28 kB / 0.5119 GB, free: 436 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.1462, allocations: 219.4 kB / 0.5121 GB, free: 200 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.1462, allocations: 29.7 kB / 0.5121 GB, free: 164 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1463, allocations: 164.5 kB / 0.5123 GB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.567e-05/0.1464, allocations: 83.14 kB / 0.5124 GB, free: 15.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.101e-05/0.1465, allocations: 45.66 kB / 0.5124 GB, free: 15.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1466, allocations: 334.8 kB / 0.5127 GB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.1468, allocations: 115.9 kB / 0.5128 GB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.147, allocations: 119.9 kB / 0.5129 GB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.1474, allocations: 272.7 kB / 0.5132 GB, free: 15.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1474, allocations: 0 / 0.5132 GB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007019/0.1481, allocations: 440 kB / 0.5136 GB, free: 14.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1481, allocations: 8 kB / 0.5136 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1481, allocations: 0 / 0.5136 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004029/0.1485, allocations: 134.4 kB / 0.5138 GB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.1487, allocations: 35.97 kB / 0.5138 GB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004174/0.1529, allocations: 5.172 MB / 0.5188 GB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.1531, allocations: 23.86 kB / 0.5189 GB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.1531, allocations: 4 kB / 0.5189 GB, free: 8.777 MB / 366.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.0002278/0.1533, allocations: 201.7 kB / 0.5191 GB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-05/0.1534, allocations: 19.75 kB / 0.5191 GB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.635e-05/0.1535, allocations: 29.94 kB / 0.5191 GB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1535, allocations: 4 kB / 0.5191 GB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.1535, allocations: 4 kB / 0.5191 GB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1535, allocations: 3.984 kB / 0.5191 GB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004954/0.154, allocations: 425.2 kB / 0.5195 GB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.154, allocations: 3.938 kB / 0.5195 GB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.1542, allocations: 39.97 kB / 0.5196 GB, free: 8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002991/0.1545, allocations: 142.4 kB / 0.5197 GB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.1546, allocations: 4 kB / 0.5197 GB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003982/0.1585, allocations: 5.164 MB / 0.5247 GB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1586, allocations: 0 / 0.5247 GB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009966/0.1596, allocations: 0.6729 MB / 0.5254 GB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-05/0.1597, allocations: 100.9 kB / 0.5255 GB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.1597, allocations: 11.97 kB / 0.5255 GB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.1598, allocations: 11.98 kB / 0.5255 GB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.1599, allocations: 15.98 kB / 0.5255 GB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.1599, allocations: 4 kB / 0.5255 GB, free: 1.406 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.1601, allocations: 165.2 kB / 0.5257 GB, free: 1.246 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1601, allocations: 0 / 0.5257 GB, free: 1.246 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005908/0.1607, allocations: 107.7 kB / 0.5258 GB, free: 1.141 MB / 366.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.2082/0.3689, allocations: 1.202 MB / 0.527 GB, free: 23.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009805/0.3699, allocations: 0.6504 MB / 0.5276 GB, free: 23.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3699, allocations: 0 / 0.5276 GB, free: 23.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004889/0.3704, allocations: 0.5221 MB / 0.5281 GB, free: 23.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.3709, allocations: 45.41 kB / 0.5282 GB, free: 23.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/0.3746, allocations: 3.481 MB / 0.5316 GB, free: 21.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.375, allocations: 0.8506 MB / 0.5324 GB, free: 21.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001366/0.3751, allocations: 52.08 kB / 0.5324 GB, free: 21.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.3753, allocations: 83.53 kB / 0.5325 GB, free: 21.14 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3753, allocations: 0 / 0.5325 GB, free: 21.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04978/0.425, allocations: 7.361 MB / 0.5397 GB, free: 20.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.52/9.945, allocations: 14.22 kB / 0.5397 GB, free: 20.37 MB / 366.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)