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.001421/0.001421, allocations: 95.08 kB / 16.3 MB, free: 6.457 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.001803/0.001803, allocations: 184.5 kB / 17.19 MB, free: 6.34 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.685/1.685, allocations: 205.4 MB / 223.3 MB, free: 13.18 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.0004911/0.0004911, allocations: 15.38 kB / 280.1 MB, free: 3.766 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1171, allocations: 47.58 MB / 327.7 MB, free: 4.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004413/0.1216, allocations: 2.495 MB / 330.2 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002382/0.124, allocations: 0.9607 MB / 331.1 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003467/0.1244, allocations: 7.938 kB / 331.2 MB, free: 0.625 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.1245, allocations: 43.62 kB / 331.2 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003836/0.1249, allocations: 119.6 kB / 331.3 MB, free: 476 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006476/0.1256, allocations: 139.8 kB / 331.5 MB, free: 336 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006054/0.1262, allocations: 371.2 kB / 331.8 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003859/0.1266, allocations: 162 kB / 332 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.1269, allocations: 131.3 kB / 332.1 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.1271, allocations: 143.1 kB / 332.2 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.685e-05/0.1272, allocations: 12 kB / 332.3 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1273, allocations: 27.94 kB / 332.3 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.614e-05/0.1274, allocations: 55.7 kB / 332.3 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.1276, allocations: 109.5 kB / 332.4 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005279/0.1282, allocations: 403.2 kB / 332.8 MB, free: 14.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1282, allocations: 0 / 332.8 MB, free: 14.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1282, allocations: 3.938 kB / 332.8 MB, free: 14.92 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.1282, allocations: 4 kB / 332.8 MB, free: 14.92 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.001247/0.1295, allocations: 0.647 MB / 333.5 MB, free: 14.22 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.1295, allocations: 12.03 kB / 333.5 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.614e-05/0.1296, allocations: 59.25 kB / 333.6 MB, free: 14.15 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007578/0.1304, allocations: 386.6 kB / 333.9 MB, free: 13.74 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.889e-05/0.1305, allocations: 40.95 kB / 334 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.056e-05/0.1306, allocations: 40 kB / 334 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.1318, allocations: 487.3 kB / 334.5 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.1318, allocations: 7.938 kB / 334.5 MB, free: 13.1 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.353e-05/0.1319, allocations: 16 kB / 334.5 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.1319, allocations: 12 kB / 334.5 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007256/0.1326, allocations: 246.2 kB / 334.8 MB, free: 12.83 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003417/0.1361, allocations: 2.834 MB / 337.6 MB, free: 9.848 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006204/0.1367, allocations: 162.7 kB / 337.8 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002094/0.1369, allocations: 81.11 kB / 337.8 MB, free: 9.582 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.137, allocations: 42.45 kB / 337.9 MB, free: 9.531 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 5.099e-06/0.137, allocations: 0 / 337.9 MB, free: 9.531 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001345/0.1384, allocations: 0.6376 MB / 338.5 MB, free: 8.84 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.1384, allocations: 55.41 kB / 338.6 MB, free: 8.773 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/0.1388, allocations: 341.5 kB / 338.9 MB, free: 8.43 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.1388, allocations: 25.7 kB / 338.9 MB, free: 8.398 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.139, allocations: 303.1 kB / 339.2 MB, free: 8.098 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.915e-05/0.139, allocations: 71.03 kB / 339.3 MB, free: 8.027 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.918e-06/0.139, allocations: 4 kB / 339.3 MB, free: 8.023 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1392, allocations: 350.8 kB / 339.6 MB, free: 7.672 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.1393, allocations: 71.7 kB / 339.7 MB, free: 7.602 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.1395, allocations: 219.8 kB / 339.9 MB, free: 7.316 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: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y ($START.inverseCapacity.mass.T = $START.directCapacity.heatFlowToTemperature.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006182/0.1402, allocations: 277.6 kB / 340.2 MB, free: 7.027 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1402, allocations: 4 kB / 340.2 MB, free: 7.023 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005358/0.1407, allocations: 357.4 kB / 340.6 MB, free: 6.664 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1408, allocations: 8 kB / 340.6 MB, free: 6.656 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.1408, allocations: 4 kB / 340.6 MB, free: 6.652 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001364/0.1409, allocations: 41.47 kB / 340.6 MB, free: 6.609 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.1412, allocations: 79.91 kB / 340.7 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.1423, allocations: 1.471 MB / 342.2 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.1425, allocations: 19.94 kB / 342.2 MB, free: 4.902 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.1425, allocations: 23.98 kB / 342.2 MB, free: 4.879 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: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y. 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001828/0.1427, allocations: 170 kB / 342.4 MB, free: 4.703 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.1428, allocations: 39.81 kB / 342.4 MB, free: 4.664 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.14e-05/0.1429, allocations: 43.61 kB / 342.4 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1429, allocations: 3.984 kB / 342.4 MB, free: 4.617 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1429, allocations: 4 kB / 342.5 MB, free: 4.613 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1429, allocations: 3.984 kB / 342.5 MB, free: 4.609 MB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000981/0.1439, allocations: 0.7603 MB / 343.2 MB, free: 3.762 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1439, allocations: 4.031 kB / 343.2 MB, free: 3.758 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.1441, allocations: 35.97 kB / 343.3 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.95e-05/0.1442, allocations: 24.86 kB / 343.3 MB, free: 3.695 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.1442, allocations: 3.984 kB / 343.3 MB, free: 3.691 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009404/0.1451, allocations: 1.335 MB / 344.6 MB, free: 2.223 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1451, allocations: 0 / 344.6 MB, free: 2.223 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005364/0.1457, allocations: 381.6 kB / 345 MB, free: 1.824 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.1458, allocations: 104.6 kB / 345.1 MB, free: 1.703 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.1458, allocations: 11.89 kB / 345.1 MB, free: 1.691 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.1459, allocations: 12.03 kB / 345.1 MB, free: 1.68 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.146, allocations: 12.36 kB / 345.1 MB, free: 1.668 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.146, allocations: 4 kB / 345.1 MB, free: 1.664 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002771/0.1463, allocations: 235.2 kB / 345.4 MB, free: 1.434 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1463, allocations: 0 / 345.4 MB, free: 1.434 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004239/0.1467, allocations: 68 kB / 345.4 MB, free: 1.367 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000115/0.1468, allocations: 103 kB / 345.5 MB, free: 1.254 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005468/0.1474, allocations: 315.1 kB / 345.8 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1474, allocations: 0 / 345.8 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.1476, allocations: 186.6 kB / 346 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.1479, allocations: 42.16 kB / 346.1 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.1494, allocations: 1.04 MB / 347.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000736/0.1502, allocations: 0.8262 MB / 347.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.1503, allocations: 39.27 kB / 348 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.1504, allocations: 27.44 kB / 348 MB, free: 14.71 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1504, allocations: 11.94 kB / 348 MB, free: 14.7 MB / 302.1 MB Notification: Performance of Templates: time 0.00666/0.1571, allocations: 2.452 MB / 350.5 MB, free: 12.25 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: