Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.0008887/0.0008887, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001247/0.001247, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.4 MB / 222.1 MB, free: 5.629 MB / 174.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.000776/0.000776, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2746, allocations: 47.59 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.00286/0.2775, allocations: 2.58 MB / 329.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.2791, allocations: 0.9333 MB / 330 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/0.2793, allocations: 18.22 kB / 330 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.2796, allocations: 64.17 kB / 330.1 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.2797, allocations: 81.38 kB / 330.1 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.2801, allocations: 149.9 kB / 330.3 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004841/0.2806, allocations: 490.7 kB / 330.8 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.2809, allocations: 156.8 kB / 330.9 MB, free: 13.94 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.2811, allocations: 132.9 kB / 331.1 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.2813, allocations: 137 kB / 331.2 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.2813, allocations: 13.88 kB / 331.2 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.139e-05/0.2814, allocations: 24.44 kB / 331.2 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.697e-05/0.2815, allocations: 72.75 kB / 331.3 MB, free: 13.72 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.702e-05/0.2816, allocations: 103.8 kB / 331.4 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003715/0.282, allocations: 403 kB / 331.8 MB, free: 13.34 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.282, allocations: 0 / 331.8 MB, free: 13.34 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.282, allocations: 1.062 kB / 331.8 MB, free: 13.34 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.282, allocations: 0 / 331.8 MB, free: 13.34 MB / 270.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.0008243/0.2828, allocations: 0.6474 MB / 332.4 MB, free: 12.76 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.2829, allocations: 9.656 kB / 332.4 MB, free: 12.76 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.203e-05/0.283, allocations: 55.41 kB / 332.5 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/0.2834, allocations: 396.4 kB / 332.9 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.2835, allocations: 37.78 kB / 332.9 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.258e-05/0.2836, allocations: 42.19 kB / 333 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007993/0.2844, allocations: 489.4 kB / 333.4 MB, free: 11.93 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.2844, allocations: 9.906 kB / 333.5 MB, free: 11.93 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.2844, allocations: 17.69 kB / 333.5 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.2845, allocations: 11.25 kB / 333.5 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00048/0.2849, allocations: 252 kB / 333.7 MB, free: 11.79 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.2871, allocations: 2.828 MB / 336.6 MB, free: 9.074 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004066/0.2875, allocations: 154.7 kB / 336.7 MB, free: 8.914 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.2877, allocations: 76.81 kB / 336.8 MB, free: 8.836 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001656/0.2878, allocations: 89.06 kB / 336.9 MB, free: 8.73 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.2879, allocations: 46.48 kB / 336.9 MB, free: 8.676 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.2879, allocations: 0 / 336.9 MB, free: 8.676 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.00128/0.2892, allocations: 0.6263 MB / 337.5 MB, free: 7.992 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.2892, allocations: 55.31 kB / 337.6 MB, free: 7.926 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.2895, allocations: 333.7 kB / 337.9 MB, free: 7.59 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.2896, allocations: 29.7 kB / 338 MB, free: 7.555 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.2898, allocations: 302.9 kB / 338.2 MB, free: 7.254 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.208e-05/0.2898, allocations: 67.09 kB / 338.3 MB, free: 7.188 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/0.2898, allocations: 8 kB / 338.3 MB, free: 7.18 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.29, allocations: 354.8 kB / 338.7 MB, free: 6.824 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.2901, allocations: 71.75 kB / 338.7 MB, free: 6.754 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.2904, allocations: 219.8 kB / 339 MB, free: 6.469 MB / 270.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.0005551/0.2909, allocations: 273.6 kB / 339.2 MB, free: 6.184 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2909, allocations: 4 kB / 339.2 MB, free: 6.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005225/0.2915, allocations: 357.8 kB / 339.6 MB, free: 5.82 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2915, allocations: 8 kB / 339.6 MB, free: 5.812 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.2915, allocations: 4 kB / 339.6 MB, free: 5.809 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001183/0.2916, allocations: 40.78 kB / 339.6 MB, free: 5.766 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.2919, allocations: 71.91 kB / 339.7 MB, free: 5.695 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.293, allocations: 1.464 MB / 341.2 MB, free: 4.094 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.2932, allocations: 31.94 kB / 341.2 MB, free: 4.062 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.2932, allocations: 12 kB / 341.2 MB, free: 4.051 MB / 270.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.0001789/0.2934, allocations: 170.1 kB / 341.4 MB, free: 3.875 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.878e-05/0.2935, allocations: 39.48 kB / 341.4 MB, free: 3.836 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.129e-05/0.2936, allocations: 43.53 kB / 341.4 MB, free: 3.793 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.2936, allocations: 0 / 341.4 MB, free: 3.793 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2936, allocations: 0 / 341.4 MB, free: 3.793 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.2936, allocations: 3.984 kB / 341.5 MB, free: 3.789 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000879/0.2945, allocations: 0.715 MB / 342.2 MB, free: 3 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.2945, allocations: 8.141 kB / 342.2 MB, free: 2.992 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.2947, allocations: 35.97 kB / 342.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.791e-05/0.2948, allocations: 24.88 kB / 342.2 MB, free: 2.93 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.2948, allocations: 8 kB / 342.2 MB, free: 2.922 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008377/0.2956, allocations: 1.32 MB / 343.6 MB, free: 1.469 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2956, allocations: 4.031 kB / 343.6 MB, free: 1.465 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000462/0.2961, allocations: 379.5 kB / 343.9 MB, free: 1.074 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.09e-05/0.2962, allocations: 104.6 kB / 344 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.2962, allocations: 8 kB / 344 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.2964, allocations: 19.98 kB / 344.1 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.2964, allocations: 11.98 kB / 344.1 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.2964, allocations: 4 kB / 344.1 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002087/0.2966, allocations: 231.2 kB / 344.3 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2966, allocations: 0 / 344.3 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004158/0.2971, allocations: 68 kB / 344.4 MB, free: 0.6172 MB / 270.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.0001115/0.2972, allocations: 111 kB / 344.5 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005127/0.2977, allocations: 311.6 kB / 344.8 MB, free: 184 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.2977, allocations: 8.062 kB / 344.8 MB, free: 176 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.2979, allocations: 187 kB / 345 MB, free: 15.97 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.2983, allocations: 33.56 kB / 345 MB, free: 15.94 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.2997, allocations: 1.047 MB / 346.1 MB, free: 14.86 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.3, allocations: 0.8184 MB / 346.9 MB, free: 14.02 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.3002, allocations: 39.27 kB / 346.9 MB, free: 13.98 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.972e-05/0.3002, allocations: 35.36 kB / 346.9 MB, free: 13.95 MB / 286.1 MB Notification: Performance of SimCode: time 3e-07/0.3002, allocations: 0 / 346.9 MB, free: 13.95 MB / 286.1 MB Notification: Performance of Templates: time 0.005818/0.3061, allocations: 2.456 MB / 349.4 MB, free: 11.49 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1)