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.001291/0.001297, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001566/0.001566, allocations: 195 kB / 16.14 MB, free: 6.707 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.662/1.662, allocations: 205.1 MB / 222 MB, free: 4.777 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.001215/0.001215, allocations: 47.94 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2788, allocations: 46.63 MB / 324.7 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004302/0.2831, allocations: 3.093 MB / 327.8 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.2854, allocations: 0.9809 MB / 328.7 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000244/0.2856, allocations: 10.5 kB / 328.8 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.286, allocations: 75.02 kB / 328.8 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.2862, allocations: 77.64 kB / 328.9 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006003/0.2868, allocations: 186.4 kB / 329.1 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005559/0.2874, allocations: 0.5134 MB / 329.6 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003647/0.2878, allocations: 205.2 kB / 329.8 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/0.288, allocations: 150.9 kB / 329.9 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.2882, allocations: 174.2 kB / 330.1 MB, free: 13.74 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.876e-05/0.2883, allocations: 21.5 kB / 330.1 MB, free: 13.74 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.2884, allocations: 35.7 kB / 330.2 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.385e-05/0.2885, allocations: 77.27 kB / 330.2 MB, free: 13.67 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.2887, allocations: 213.4 kB / 330.5 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004785/0.2892, allocations: 0.5076 MB / 331 MB, free: 13.13 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2892, allocations: 4 kB / 331 MB, free: 13.13 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2892, allocations: 0 / 331 MB, free: 13.13 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.944e-06/0.2892, allocations: 1.25 kB / 331 MB, free: 13.13 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.001101/0.2903, allocations: 0.73 MB / 331.7 MB, free: 12.49 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.2904, allocations: 9.469 kB / 331.7 MB, free: 12.49 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.2905, allocations: 59.69 kB / 331.8 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005683/0.2911, allocations: 410.1 kB / 332.2 MB, free: 12.08 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/0.2911, allocations: 32.75 kB / 332.2 MB, free: 12.07 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.548e-05/0.2912, allocations: 46.77 kB / 332.2 MB, free: 12.05 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008268/0.2921, allocations: 487 kB / 332.7 MB, free: 11.64 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.2921, allocations: 2.281 kB / 332.7 MB, free: 11.64 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/0.2921, allocations: 20.47 kB / 332.7 MB, free: 11.63 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.2922, allocations: 15.22 kB / 332.8 MB, free: 11.62 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/0.2927, allocations: 248.1 kB / 333 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/0.295, allocations: 2.833 MB / 335.8 MB, free: 8.656 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000506/0.2956, allocations: 162.6 kB / 336 MB, free: 8.488 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.2957, allocations: 76.88 kB / 336.1 MB, free: 8.41 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002894/0.296, allocations: 81.11 kB / 336.1 MB, free: 8.312 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/0.2961, allocations: 38.5 kB / 336.2 MB, free: 8.266 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 2.064e-06/0.2961, allocations: 0 / 336.2 MB, free: 8.266 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.00162/0.2977, allocations: 0.6268 MB / 336.8 MB, free: 7.582 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.2978, allocations: 55.41 kB / 336.9 MB, free: 7.516 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004185/0.2982, allocations: 341.6 kB / 337.2 MB, free: 7.172 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.2982, allocations: 25.7 kB / 337.2 MB, free: 7.141 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/0.2985, allocations: 299 kB / 337.5 MB, free: 6.844 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.5e-05/0.2986, allocations: 75.03 kB / 337.6 MB, free: 6.77 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.2987, allocations: 65.61 kB / 337.7 MB, free: 6.699 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.2989, allocations: 350.7 kB / 338 MB, free: 6.348 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.2991, allocations: 71.75 kB / 338.1 MB, free: 6.277 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.2994, allocations: 215.6 kB / 338.3 MB, free: 5.996 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.001055/0.3004, allocations: 0.5081 MB / 338.8 MB, free: 5.398 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3005, allocations: 0 / 338.8 MB, free: 5.398 MB / 270.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006286/0.3011, allocations: 362.1 kB / 339.1 MB, free: 5.035 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.3011, allocations: 14.5 kB / 339.2 MB, free: 5.023 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.3012, allocations: 8 kB / 339.2 MB, free: 5.016 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001628/0.3013, allocations: 36.84 kB / 339.2 MB, free: 4.977 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.3016, allocations: 75.84 kB / 339.3 MB, free: 4.902 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.3029, allocations: 1.463 MB / 340.7 MB, free: 3.301 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.303, allocations: 19.98 kB / 340.8 MB, free: 3.281 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.3031, allocations: 16 kB / 340.8 MB, free: 3.266 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.0002285/0.3033, allocations: 181.6 kB / 340.9 MB, free: 3.078 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.473e-05/0.3034, allocations: 35.53 kB / 341 MB, free: 3.043 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.666e-05/0.3035, allocations: 43.53 kB / 341 MB, free: 3 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3035, allocations: 0 / 341 MB, free: 3 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.3035, allocations: 4 kB / 341 MB, free: 2.996 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3035, allocations: 0 / 341 MB, free: 2.996 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009744/0.3045, allocations: 0.7111 MB / 341.7 MB, free: 2.211 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3045, allocations: 0 / 341.7 MB, free: 2.211 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.3047, allocations: 39.86 kB / 341.8 MB, free: 2.172 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.423e-05/0.3048, allocations: 28.84 kB / 341.8 MB, free: 2.141 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.3048, allocations: 0 / 341.8 MB, free: 2.141 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/0.306, allocations: 1.339 MB / 343.1 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.306, allocations: 0 / 343.1 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005512/0.3065, allocations: 356.6 kB / 343.5 MB, free: 308 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.073e-05/0.3066, allocations: 116.8 kB / 343.6 MB, free: 172 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.3067, allocations: 4 kB / 343.6 MB, free: 168 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.3068, allocations: 4 kB / 343.6 MB, free: 164 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/0.3069, allocations: 19.97 kB / 343.6 MB, free: 144 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.3069, allocations: 4 kB / 343.6 MB, free: 140 kB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000276/0.3072, allocations: 231.2 kB / 343.9 MB, free: 15.91 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3072, allocations: 0 / 343.9 MB, free: 15.91 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004356/0.3076, 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.0001136/0.3077, allocations: 103.2 kB / 344 MB, free: 15.73 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005526/0.3083, allocations: 307.8 kB / 344.3 MB, free: 15.42 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3083, allocations: 4 kB / 344.3 MB, free: 15.41 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.3085, allocations: 186.6 kB / 344.5 MB, free: 15.22 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.3089, allocations: 37.48 kB / 344.6 MB, free: 15.18 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.3104, allocations: 1.024 MB / 345.6 MB, free: 14.13 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.3109, allocations: 0.8223 MB / 346.4 MB, free: 13.28 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001236/0.311, allocations: 39.27 kB / 346.4 MB, free: 13.24 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.76e-05/0.3111, allocations: 35.42 kB / 346.5 MB, free: 13.21 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3111, allocations: 0 / 346.5 MB, free: 13.21 MB / 286.1 MB Notification: Performance of Templates: time 0.006314/0.3174, allocations: 2.555 MB / 349 MB, free: 10.66 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)