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.001225/0.001224, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001172/0.001172, allocations: 193.5 kB / 16.25 MB, free: 6.617 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.666/1.666, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.001435/0.001435, allocations: 47.94 kB / 278.2 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2811, allocations: 46.63 MB / 324.8 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.005245/0.2864, allocations: 3.093 MB / 327.9 MB, free: 15.47 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.2882, allocations: 0.9738 MB / 328.9 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.2884, allocations: 19.94 kB / 328.9 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.2887, allocations: 69.95 kB / 329 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.2889, allocations: 81.91 kB / 329.1 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.2894, allocations: 188 kB / 329.3 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007052/0.2902, allocations: 0.5433 MB / 329.8 MB, free: 14.06 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003844/0.2905, allocations: 219.4 kB / 330 MB, free: 13.94 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.2908, allocations: 175 kB / 330.2 MB, free: 13.83 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.291, allocations: 178.9 kB / 330.4 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.162e-05/0.2911, allocations: 36.97 kB / 330.4 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.2913, allocations: 51.95 kB / 330.4 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.2914, allocations: 92.56 kB / 330.5 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002345/0.2916, allocations: 230.4 kB / 330.8 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006019/0.2922, allocations: 0.5594 MB / 331.3 MB, free: 13.03 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2922, allocations: 1.062 kB / 331.3 MB, free: 13.03 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2922, allocations: 0 / 331.3 MB, free: 13.03 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.2923, allocations: 0 / 331.3 MB, free: 13.03 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.001147/0.2934, allocations: 0.7355 MB / 332.1 MB, free: 12.39 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.27e-05/0.2935, allocations: 9.094 kB / 332.1 MB, free: 12.39 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.2936, allocations: 59.16 kB / 332.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006474/0.2943, allocations: 406.8 kB / 332.5 MB, free: 11.98 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/0.2943, allocations: 36.31 kB / 332.6 MB, free: 11.96 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.552e-05/0.2944, allocations: 39.12 kB / 332.6 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000879/0.2953, allocations: 494.8 kB / 333.1 MB, free: 11.54 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.2953, allocations: 5.438 kB / 333.1 MB, free: 11.54 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.781e-05/0.2954, allocations: 17.91 kB / 333.1 MB, free: 11.53 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.2954, allocations: 11.69 kB / 333.1 MB, free: 11.53 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005532/0.296, allocations: 247.6 kB / 333.4 MB, free: 11.41 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002664/0.2987, allocations: 2.838 MB / 336.2 MB, free: 8.426 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/0.2991, allocations: 162.7 kB / 336.4 MB, free: 8.258 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.2993, allocations: 68.83 kB / 336.4 MB, free: 8.188 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002215/0.2995, allocations: 81.11 kB / 336.5 MB, free: 8.09 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.652e-05/0.2996, allocations: 42.5 kB / 336.5 MB, free: 8.039 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.2996, allocations: 0 / 336.5 MB, free: 8.039 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.001291/0.3009, allocations: 0.6296 MB / 337.2 MB, free: 7.355 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.3009, allocations: 51.41 kB / 337.2 MB, free: 7.293 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.3012, allocations: 341.6 kB / 337.6 MB, free: 6.949 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.3013, allocations: 29.7 kB / 337.6 MB, free: 6.914 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.3015, allocations: 299 kB / 337.9 MB, free: 6.617 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.431e-05/0.3016, allocations: 71.03 kB / 337.9 MB, free: 6.547 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.841e-05/0.3016, allocations: 69.55 kB / 338 MB, free: 6.473 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3018, allocations: 354.7 kB / 338.4 MB, free: 6.117 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.3019, allocations: 67.75 kB / 338.4 MB, free: 6.051 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.3022, allocations: 215.6 kB / 338.6 MB, free: 5.77 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: inverseCapacity.mass.T = $START.inverseCapacity.mass.T ($START.directCapacity.heatFlowToTemperature.y = $START.inverseCapacity.mass.T) Notification: Performance of analyzeInitialSystem (initialization): time 0.000875/0.303, allocations: 0.5081 MB / 339.1 MB, free: 5.172 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.303, allocations: 0 / 339.1 MB, free: 5.172 MB / 270.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005406/0.3036, allocations: 361.6 kB / 339.5 MB, free: 4.809 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.3036, allocations: 11.94 kB / 339.5 MB, free: 4.797 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.3037, allocations: 7.984 kB / 339.5 MB, free: 4.789 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001547/0.3038, allocations: 36.84 kB / 339.6 MB, free: 4.75 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.3041, allocations: 67.91 kB / 339.6 MB, free: 4.684 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.3054, allocations: 1.639 MB / 341.3 MB, free: 2.902 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.3056, allocations: 19.98 kB / 341.3 MB, free: 2.883 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.3057, allocations: 24 kB / 341.3 MB, free: 2.859 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 system: 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.0002177/0.3059, allocations: 173.6 kB / 341.5 MB, free: 2.68 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-05/0.3059, allocations: 39.47 kB / 341.5 MB, free: 2.641 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.591e-05/0.306, allocations: 39.66 kB / 341.5 MB, free: 2.602 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.306, allocations: 4 kB / 341.5 MB, free: 2.598 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.306, allocations: 0 / 341.5 MB, free: 2.598 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.306, allocations: 0 / 341.5 MB, free: 2.598 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.3071, allocations: 0.7105 MB / 342.3 MB, free: 1.812 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3071, allocations: 0 / 342.3 MB, free: 1.812 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.3073, allocations: 39.95 kB / 342.3 MB, free: 1.773 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.084e-05/0.3074, allocations: 28.84 kB / 342.3 MB, free: 1.742 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.3074, allocations: 0 / 342.3 MB, free: 1.742 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.3086, allocations: 1.442 MB / 343.8 MB, free: 168 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3086, allocations: 0 / 343.8 MB, free: 168 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005284/0.3092, allocations: 360.7 kB / 344.1 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.623e-05/0.3092, allocations: 108.7 kB / 344.2 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.3093, allocations: 4 kB / 344.2 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.3094, allocations: 8.031 kB / 344.2 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.3095, allocations: 19.92 kB / 344.3 MB, free: 15.63 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.3095, allocations: 4 kB / 344.3 MB, free: 15.63 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002213/0.3097, allocations: 239.2 kB / 344.5 MB, free: 15.39 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.355e-06/0.3097, allocations: 0 / 344.5 MB, free: 15.39 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004202/0.3102, allocations: 71.94 kB / 344.6 MB, free: 15.32 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 (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.0001152/0.3103, allocations: 91.25 kB / 344.7 MB, free: 15.22 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005972/0.3109, allocations: 327.3 kB / 345 MB, free: 14.89 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3109, allocations: 0 / 345 MB, free: 14.89 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.3112, allocations: 182.6 kB / 345.2 MB, free: 14.7 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.3115, allocations: 45.48 kB / 345.2 MB, free: 14.66 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.3131, allocations: 1.026 MB / 346.2 MB, free: 13.6 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005107/0.3137, allocations: 0.8146 MB / 347 MB, free: 12.75 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.3138, allocations: 39.27 kB / 347.1 MB, free: 12.72 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.694e-05/0.3139, allocations: 35.42 kB / 347.1 MB, free: 12.68 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3139, allocations: 0 / 347.1 MB, free: 12.68 MB / 286.1 MB Notification: Performance of Templates: time 0.006617/0.3205, allocations: 2.668 MB / 349.8 MB, free: 10.02 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)