Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.001345/0.001345, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001368/0.001369, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.1 MB / 222 MB, free: 4.75 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.001208/0.001208, allocations: 47.94 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2809, allocations: 46.63 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004691/0.2856, allocations: 3.081 MB / 327.8 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.2877, allocations: 0.9921 MB / 328.7 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.2879, allocations: 11.56 kB / 328.8 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.2882, allocations: 66.78 kB / 328.8 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.2883, allocations: 77.02 kB / 328.9 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.2888, allocations: 194.5 kB / 329.1 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005473/0.2894, allocations: 0.5133 MB / 329.6 MB, free: 14.1 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003606/0.2898, allocations: 202.1 kB / 329.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.29, allocations: 157.9 kB / 329.9 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.2902, allocations: 174.8 kB / 330.1 MB, free: 13.76 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.175e-05/0.2903, allocations: 21.53 kB / 330.1 MB, free: 13.76 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.2904, allocations: 31.19 kB / 330.2 MB, free: 13.76 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.781e-05/0.2905, allocations: 68.89 kB / 330.2 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.2907, allocations: 218.6 kB / 330.5 MB, free: 13.55 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004937/0.2912, allocations: 0.5105 MB / 331 MB, free: 13.16 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2912, allocations: 0 / 331 MB, free: 13.16 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.2912, allocations: 1.094 kB / 331 MB, free: 13.16 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.2913, allocations: 0 / 331 MB, free: 13.16 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.001047/0.2923, allocations: 0.7347 MB / 331.7 MB, free: 12.51 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.2924, allocations: 9.156 kB / 331.7 MB, free: 12.51 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.2925, allocations: 60.16 kB / 331.8 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000548/0.293, allocations: 414.1 kB / 332.2 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.2931, allocations: 28.25 kB / 332.2 MB, free: 12.09 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-05/0.2932, allocations: 38.91 kB / 332.2 MB, free: 12.08 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009926/0.2942, allocations: 486 kB / 332.7 MB, free: 11.68 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.2942, allocations: 10.22 kB / 332.7 MB, free: 11.67 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/0.2943, allocations: 18.19 kB / 332.7 MB, free: 11.66 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/0.2943, allocations: 10.94 kB / 332.7 MB, free: 11.66 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005705/0.2949, allocations: 252.1 kB / 333 MB, free: 11.53 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002449/0.2973, allocations: 2.833 MB / 335.8 MB, free: 8.66 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/0.2978, allocations: 166.6 kB / 336 MB, free: 8.488 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.2979, allocations: 72.81 kB / 336.1 MB, free: 8.414 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002205/0.2982, allocations: 89.09 kB / 336.2 MB, free: 8.309 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.2982, allocations: 34.5 kB / 336.2 MB, free: 8.266 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.2982, allocations: 0 / 336.2 MB, free: 8.266 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.001294/0.2995, allocations: 0.6184 MB / 336.8 MB, free: 7.59 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.2995, allocations: 55.41 kB / 336.9 MB, free: 7.523 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003472/0.2999, allocations: 337.6 kB / 337.2 MB, free: 7.184 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.2999, allocations: 33.7 kB / 337.2 MB, free: 7.145 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.3001, allocations: 302.9 kB / 337.5 MB, free: 6.844 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.03e-05/0.3002, allocations: 67.03 kB / 337.6 MB, free: 6.777 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.375e-05/0.3003, allocations: 69.59 kB / 337.6 MB, free: 6.703 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.3005, allocations: 358.7 kB / 338 MB, free: 6.344 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.3006, allocations: 63.75 kB / 338.1 MB, free: 6.281 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.3009, allocations: 215.7 kB / 338.3 MB, free: 6 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.0008983/0.3018, allocations: 0.5125 MB / 338.8 MB, free: 5.398 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3018, allocations: 0 / 338.8 MB, free: 5.398 MB / 270.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005537/0.3024, allocations: 365.9 kB / 339.1 MB, free: 5.031 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.3024, allocations: 14.91 kB / 339.2 MB, free: 5.02 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.3024, allocations: 7.938 kB / 339.2 MB, free: 5.012 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/0.3026, allocations: 32.84 kB / 339.2 MB, free: 4.977 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.3028, allocations: 75.91 kB / 339.3 MB, free: 4.902 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.3042, allocations: 1.475 MB / 340.7 MB, free: 3.289 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.3045, allocations: 20 kB / 340.8 MB, free: 3.27 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.3045, allocations: 12 kB / 340.8 MB, free: 3.258 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.0002951/0.3048, allocations: 177.8 kB / 340.9 MB, free: 3.074 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.52e-05/0.3049, allocations: 35.53 kB / 341 MB, free: 3.039 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.56e-05/0.305, allocations: 43.53 kB / 341 MB, free: 2.996 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.305, allocations: 0 / 341 MB, free: 2.996 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.305, allocations: 0 / 341 MB, free: 2.996 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.305, allocations: 7.984 kB / 341 MB, free: 2.988 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.3064, allocations: 0.711 MB / 341.7 MB, free: 2.203 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3064, allocations: 0 / 341.7 MB, free: 2.203 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.3067, allocations: 35.97 kB / 341.8 MB, free: 2.168 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001038/0.3068, allocations: 20.86 kB / 341.8 MB, free: 2.145 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.3068, allocations: 11.92 kB / 341.8 MB, free: 2.133 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.3083, allocations: 1.328 MB / 343.1 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.3083, allocations: 4 kB / 343.1 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008253/0.3091, allocations: 364.6 kB / 343.5 MB, free: 300 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.3092, allocations: 104.7 kB / 343.6 MB, free: 176 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.3093, allocations: 8 kB / 343.6 MB, free: 168 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.3095, allocations: 12.03 kB / 343.6 MB, free: 156 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.183e-05/0.3096, allocations: 11.98 kB / 343.6 MB, free: 144 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.3096, allocations: 4 kB / 343.6 MB, free: 140 kB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003734/0.31, allocations: 235.2 kB / 343.9 MB, free: 15.91 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.31, allocations: 4 kB / 343.9 MB, free: 15.9 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006832/0.3107, allocations: 68 kB / 343.9 MB, free: 15.84 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.0001792/0.3109, allocations: 95.19 kB / 344 MB, free: 15.73 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007702/0.3116, allocations: 319.7 kB / 344.3 MB, free: 15.41 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3117, allocations: 0 / 344.3 MB, free: 15.41 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002784/0.3119, allocations: 186.7 kB / 344.5 MB, free: 15.21 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.3125, allocations: 41.38 kB / 344.6 MB, free: 15.17 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.3147, allocations: 1.028 MB / 345.6 MB, free: 14.11 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006054/0.3154, allocations: 0.8223 MB / 346.4 MB, free: 13.26 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.3156, allocations: 43.25 kB / 346.5 MB, free: 13.22 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.729e-05/0.3157, allocations: 27.44 kB / 346.5 MB, free: 13.2 MB / 286.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3157, allocations: 0 / 346.5 MB, free: 13.2 MB / 286.1 MB Notification: Performance of Templates: time 0.009631/0.3253, allocations: 2.554 MB / 349 MB, free: 10.64 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1)