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.005929/0.005929, allocations: 100.5 kB / 15.73 MB, free: 6.012 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.475/1.475, allocations: 222.9 MB / 239.4 MB, free: 4.508 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.001743/0.001743, allocations: 196.5 kB / 289.7 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03717/0.03717, allocations: 8.793 MB / 348.7 MB, free: 4.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002465/0.002466, allocations: 79.86 kB / 463.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1305, allocations: 51.56 MB / 0.5029 GB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.004077/0.1347, allocations: 2.007 MB / 0.5049 GB, free: 7.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004549/0.1351, allocations: 159.5 kB / 0.505 GB, free: 7.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.241e-05/0.1352, allocations: 0 / 0.505 GB, free: 7.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.1354, allocations: 27.72 kB / 0.505 GB, free: 7.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.1357, allocations: 75.45 kB / 0.5051 GB, free: 7.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.1358, allocations: 39.95 kB / 0.5051 GB, free: 7.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007469/0.1366, allocations: 497.9 kB / 0.5056 GB, free: 7.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006305/0.1372, allocations: 286 kB / 0.5059 GB, free: 6.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002929/0.1375, allocations: 183.5 kB / 0.5061 GB, free: 6.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002999/0.1379, allocations: 191.3 kB / 0.5062 GB, free: 6.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.943e-05/0.1379, allocations: 44 kB / 0.5063 GB, free: 6.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.415e-05/0.138, allocations: 48 kB / 0.5063 GB, free: 6.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.1382, allocations: 99.75 kB / 0.5064 GB, free: 6.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.1385, allocations: 211.1 kB / 0.5066 GB, free: 6.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006393/0.1391, allocations: 0.5529 MB / 0.5072 GB, free: 5.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1391, allocations: 4 kB / 0.5072 GB, free: 5.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1391, allocations: 0 / 0.5072 GB, free: 5.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.1391, allocations: 0 / 0.5072 GB, free: 5.609 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.001374/0.1405, allocations: 0.6469 MB / 0.5078 GB, free: 4.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.1406, allocations: 16.03 kB / 0.5078 GB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.365e-05/0.1407, allocations: 70.72 kB / 0.5079 GB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.1408, allocations: 32.75 kB / 0.5079 GB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.1413, allocations: 315.8 kB / 0.5082 GB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.1413, allocations: 25.03 kB / 0.5082 GB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.42e-05/0.1414, allocations: 32.31 kB / 0.5083 GB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007223/0.1421, allocations: 394.4 kB / 0.5087 GB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.1421, allocations: 3.938 kB / 0.5087 GB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.1422, allocations: 12 kB / 0.5087 GB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.068e-05/0.1422, allocations: 12.66 kB / 0.5087 GB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006362/0.1428, allocations: 358.4 kB / 0.509 GB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.1449, allocations: 1.421 MB / 0.5104 GB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008518/0.1458, allocations: 386.5 kB / 0.5108 GB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/0.1461, allocations: 192.7 kB / 0.511 GB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.1461, allocations: 0 / 0.511 GB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.1462, allocations: 34.56 kB / 0.511 GB, free: 1.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.725e-06/0.1462, allocations: 0 / 0.511 GB, free: 1.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001908/0.1481, allocations: 0.8569 MB / 0.5118 GB, free: 0.5156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.1482, allocations: 59.34 kB / 0.5119 GB, free: 456 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.1485, allocations: 219.4 kB / 0.5121 GB, free: 220 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/0.1485, allocations: 33.7 kB / 0.5121 GB, free: 180 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.1487, allocations: 168.6 kB / 0.5123 GB, free: 8 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.1488, allocations: 87.69 kB / 0.5124 GB, free: 15.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-05/0.1489, allocations: 45.64 kB / 0.5124 GB, free: 15.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1491, allocations: 330.8 kB / 0.5127 GB, free: 15.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.1493, allocations: 115.9 kB / 0.5128 GB, free: 15.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.1495, allocations: 123.8 kB / 0.513 GB, free: 15.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/0.15, allocations: 272.7 kB / 0.5132 GB, free: 15.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.15, allocations: 0 / 0.5132 GB, free: 15.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00076/0.1507, allocations: 436.1 kB / 0.5136 GB, free: 14.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.1508, allocations: 8 kB / 0.5136 GB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.1508, allocations: 0 / 0.5136 GB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004411/0.1512, allocations: 134.4 kB / 0.5138 GB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.1514, allocations: 39.91 kB / 0.5138 GB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005178/0.1566, allocations: 5.176 MB / 0.5189 GB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.1568, allocations: 15.88 kB / 0.5189 GB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.1569, allocations: 12 kB / 0.5189 GB, free: 8.785 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.0003213/0.1572, allocations: 201.8 kB / 0.5191 GB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.1573, allocations: 23.8 kB / 0.5191 GB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.132e-05/0.1573, allocations: 29.86 kB / 0.5191 GB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1574, allocations: 4 kB / 0.5191 GB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.1574, allocations: 0 / 0.5191 GB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1574, allocations: 0 / 0.5191 GB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005508/0.1579, allocations: 437.2 kB / 0.5196 GB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1579, allocations: 0 / 0.5196 GB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.1582, allocations: 43.91 kB / 0.5196 GB, free: 8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003465/0.1585, allocations: 138.4 kB / 0.5197 GB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.1586, allocations: 11.98 kB / 0.5197 GB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004579/0.1632, allocations: 5.16 MB / 0.5248 GB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.1632, allocations: 4 kB / 0.5248 GB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.1642, allocations: 0.6653 MB / 0.5254 GB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.651e-05/0.1643, allocations: 101 kB / 0.5255 GB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.1644, allocations: 0 / 0.5255 GB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.1645, allocations: 15.98 kB / 0.5255 GB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/0.1646, allocations: 23.91 kB / 0.5256 GB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.1646, allocations: 8 kB / 0.5256 GB, free: 1.406 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.1648, allocations: 165.2 kB / 0.5257 GB, free: 1.246 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1648, allocations: 0 / 0.5257 GB, free: 1.246 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006091/0.1654, allocations: 103.8 kB / 0.5258 GB, free: 1.145 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.1932/0.3586, allocations: 1.206 MB / 0.527 GB, free: 24.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009755/0.3596, allocations: 0.6465 MB / 0.5276 GB, free: 23.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3596, allocations: 0 / 0.5276 GB, free: 23.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004747/0.3601, allocations: 0.5256 MB / 0.5282 GB, free: 23.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.3605, allocations: 43.64 kB / 0.5282 GB, free: 23.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/0.3643, allocations: 3.492 MB / 0.5316 GB, free: 22.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.3646, allocations: 0.849 MB / 0.5324 GB, free: 21.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.3648, allocations: 59.08 kB / 0.5325 GB, free: 21.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.3649, allocations: 78.91 kB / 0.5326 GB, free: 21.35 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3649, allocations: 0 / 0.5326 GB, free: 21.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04175/0.4067, allocations: 7.274 MB / 0.5397 GB, free: 20.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.928/10.33, allocations: 10.25 kB / 0.5397 GB, free: 20.57 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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Thermal.TestLongRod_res.csv --start-time 0 --stop-time 400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 HanserModelica_HanserModelica_Thermal_TestLongRod.fmu > HanserModelica_HanserModelica.Thermal.TestLongRod.pipe 2>&1)