Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009882/0.0009885, allocations: 89.58 kB / 16.65 MB, free: 6.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 185 kB / 17.57 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005128/0.0005131, allocations: 12 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1151, allocations: 47.58 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004069/0.1192, allocations: 2.703 MB / 331 MB, free: 1.031 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.1213, allocations: 0.9719 MB / 332 MB, free: 56 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002638/0.1215, allocations: 15.88 kB / 332 MB, free: 40 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.1219, allocations: 71.53 kB / 332.1 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.1221, allocations: 75.27 kB / 332.1 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007131/0.1229, allocations: 195.8 kB / 332.3 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007739/0.1237, allocations: 0.5135 MB / 332.8 MB, free: 15.19 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004738/0.1241, allocations: 194.2 kB / 333 MB, free: 15 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/0.1245, allocations: 139.2 kB / 333.2 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002845/0.1248, allocations: 147 kB / 333.3 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.429e-05/0.1248, allocations: 20 kB / 333.3 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.125, allocations: 27.98 kB / 333.4 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.1251, allocations: 63.58 kB / 333.4 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003006/0.1254, allocations: 220.4 kB / 333.6 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007236/0.1262, allocations: 0.4944 MB / 334.1 MB, free: 13.89 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1262, allocations: 3.938 kB / 334.1 MB, free: 13.88 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1262, allocations: 4 kB / 334.1 MB, free: 13.88 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.1262, allocations: 0 / 334.1 MB, free: 13.88 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001502/0.1277, allocations: 0.6549 MB / 334.8 MB, free: 13.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.383e-05/0.1278, allocations: 12.03 kB / 334.8 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.1279, allocations: 59.94 kB / 334.9 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008106/0.1288, allocations: 394.4 kB / 335.3 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/0.1288, allocations: 33 kB / 335.3 MB, free: 12.65 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.1289, allocations: 44 kB / 335.3 MB, free: 12.61 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.1301, allocations: 0.4914 MB / 335.8 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/0.1302, allocations: 4 kB / 335.8 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-05/0.1303, allocations: 20 kB / 335.8 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.1303, allocations: 12 kB / 335.9 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007365/0.131, allocations: 250.1 kB / 336.1 MB, free: 11.76 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003677/0.1347, allocations: 2.827 MB / 338.9 MB, free: 8.777 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006681/0.1354, allocations: 170.7 kB / 339.1 MB, free: 8.602 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.1356, allocations: 72.84 kB / 339.2 MB, free: 8.527 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002284/0.1359, allocations: 89.08 kB / 339.3 MB, free: 8.422 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.1359, allocations: 34.5 kB / 339.3 MB, free: 8.379 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 3.476e-06/0.1359, allocations: 0 / 339.3 MB, free: 8.379 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001949/0.1379, allocations: 0.6376 MB / 339.9 MB, free: 7.688 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/0.1381, allocations: 55.39 kB / 340 MB, free: 7.621 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005779/0.1387, allocations: 345.5 kB / 340.3 MB, free: 7.273 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.1387, allocations: 29.7 kB / 340.3 MB, free: 7.238 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.139, allocations: 303 kB / 340.6 MB, free: 6.938 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.52e-05/0.1391, allocations: 63.09 kB / 340.7 MB, free: 6.875 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.213e-05/0.1391, allocations: 41.7 kB / 340.7 MB, free: 6.828 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.1393, allocations: 350.7 kB / 341.1 MB, free: 6.477 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.1395, allocations: 71.7 kB / 341.2 MB, free: 6.406 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/0.1399, allocations: 215.6 kB / 341.4 MB, free: 6.125 MB / 286.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseCapacity.mass.T = $START.inverseCapacity.mass.T ($START.directCapacity.heatFlowToTemperature.y = $START.inverseCapacity.mass.T) Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.1414, allocations: 0.5276 MB / 341.9 MB, free: 5.508 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.1414, allocations: 0 / 341.9 MB, free: 5.508 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001205/0.1426, allocations: 366 kB / 342.2 MB, free: 5.141 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.1427, allocations: 8 kB / 342.3 MB, free: 5.133 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.1427, allocations: 12 kB / 342.3 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002332/0.1429, allocations: 32.84 kB / 342.3 MB, free: 5.086 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.1433, allocations: 79.84 kB / 342.4 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.1456, allocations: 1.459 MB / 343.8 MB, free: 3.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.146, allocations: 23.98 kB / 343.9 MB, free: 3.387 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.146, allocations: 16 kB / 343.9 MB, free: 3.371 MB / 286.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: inverseCapacity.mass.T = $START.inverseCapacity.mass.T. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004514/0.1465, allocations: 173.7 kB / 344 MB, free: 3.191 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.07e-05/0.1466, allocations: 35.53 kB / 344.1 MB, free: 3.156 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.472e-05/0.1467, allocations: 39.67 kB / 344.1 MB, free: 3.117 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.1467, allocations: 7.984 kB / 344.1 MB, free: 3.109 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.1467, allocations: 3.984 kB / 344.1 MB, free: 3.105 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.1467, allocations: 4 kB / 344.1 MB, free: 3.102 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.1481, allocations: 0.714 MB / 344.8 MB, free: 2.312 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.1482, allocations: 0 / 344.8 MB, free: 2.312 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.1484, allocations: 47.84 kB / 344.9 MB, free: 2.266 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/0.1485, allocations: 24.84 kB / 344.9 MB, free: 2.238 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.1486, allocations: 8 kB / 344.9 MB, free: 2.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.15, allocations: 1.323 MB / 346.3 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.15, allocations: 4.031 kB / 346.3 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007843/0.1508, allocations: 372 kB / 346.6 MB, free: 400 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.1509, allocations: 108.6 kB / 346.7 MB, free: 272 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.151, allocations: 4 kB / 346.7 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.1512, allocations: 15.94 kB / 346.7 MB, free: 252 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/0.1512, allocations: 11.98 kB / 346.8 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.1513, allocations: 8 kB / 346.8 MB, free: 232 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000382/0.1517, allocations: 235.2 kB / 347 MB, free: 15.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1517, allocations: 4 kB / 347 MB, free: 15.99 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006718/0.1524, allocations: 64 kB / 347.1 MB, free: 15.93 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.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): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001427/0.1525, allocations: 95.48 kB / 347.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007693/0.1533, allocations: 314.4 kB / 347.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1533, allocations: 0 / 347.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.1536, allocations: 187.9 kB / 347.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005252/0.1542, allocations: 45.55 kB / 347.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.1563, allocations: 1.095 MB / 348.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005709/0.1569, allocations: 0.8145 MB / 349.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001887/0.1571, allocations: 43.27 kB / 349.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.229e-05/0.1572, allocations: 35.42 kB / 349.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1572, allocations: 0 / 349.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of Templates: time 0.008875/0.1661, allocations: 2.53 MB / 352.2 MB, free: 10.7 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1)