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.001161/0.001161, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.001873/0.001873, allocations: 171.7 kB / 16.26 MB, free: 6.656 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.706/1.706, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0007172/0.0007173, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.301, allocations: 47.58 MB / 327 MB, free: 1.355 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.002947/0.304, allocations: 2.706 MB / 329.7 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002228/0.3063, allocations: 0.9612 MB / 330.7 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002554/0.3066, allocations: 15.09 kB / 330.7 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.3069, allocations: 70.2 kB / 330.8 MB, free: 14.34 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.3072, allocations: 78.64 kB / 330.9 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000687/0.3079, allocations: 194.1 kB / 331 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006939/0.3086, allocations: 0.5128 MB / 331.6 MB, free: 13.81 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003294/0.309, allocations: 202 kB / 331.8 MB, free: 13.69 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.3092, allocations: 144.5 kB / 331.9 MB, free: 13.61 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.3094, allocations: 148.4 kB / 332 MB, free: 13.51 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/0.3095, allocations: 13.47 kB / 332 MB, free: 13.51 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.3096, allocations: 28.7 kB / 332.1 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.467e-05/0.3097, allocations: 64.14 kB / 332.1 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.3099, allocations: 220.1 kB / 332.4 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000522/0.3104, allocations: 0.4929 MB / 332.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3104, allocations: 4.906 kB / 332.9 MB, free: 12.91 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3104, allocations: 0 / 332.9 MB, free: 12.91 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.3104, allocations: 0 / 332.9 MB, free: 12.91 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.001001/0.3114, allocations: 0.6503 MB / 333.5 MB, free: 12.32 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.3115, allocations: 9.469 kB / 333.5 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.517e-05/0.3116, allocations: 59.16 kB / 333.6 MB, free: 12.29 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005309/0.3121, allocations: 410.8 kB / 334 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.3122, allocations: 33.03 kB / 334 MB, free: 11.9 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.2e-05/0.3123, allocations: 38.66 kB / 334 MB, free: 11.89 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007584/0.313, allocations: 495.4 kB / 334.5 MB, free: 11.48 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.3131, allocations: 7.062 kB / 334.5 MB, free: 11.47 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.3131, allocations: 17.78 kB / 334.5 MB, free: 11.46 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.3131, allocations: 10.12 kB / 334.6 MB, free: 11.46 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005446/0.3137, allocations: 248.3 kB / 334.8 MB, free: 11.34 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.3159, allocations: 2.828 MB / 337.6 MB, free: 8.402 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.3163, allocations: 166.7 kB / 337.8 MB, free: 8.23 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.3165, allocations: 76.77 kB / 337.9 MB, free: 8.152 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001471/0.3166, allocations: 85.11 kB / 338 MB, free: 8.051 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.3167, allocations: 38.48 kB / 338 MB, free: 8.004 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.3167, allocations: 4 kB / 338 MB, free: 8 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.001298/0.318, allocations: 0.6301 MB / 338.6 MB, free: 7.312 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.318, allocations: 59.41 kB / 338.7 MB, free: 7.242 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.3184, allocations: 341.7 kB / 339 MB, free: 6.898 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.3184, allocations: 25.7 kB / 339 MB, free: 6.867 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.3186, allocations: 302.9 kB / 339.3 MB, free: 6.566 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.212e-05/0.3187, allocations: 67.03 kB / 339.4 MB, free: 6.5 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.3187, allocations: 37.64 kB / 339.4 MB, free: 6.457 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3189, allocations: 350.7 kB / 339.8 MB, free: 6.105 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.319, allocations: 71.69 kB / 339.8 MB, free: 6.035 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.3193, allocations: 223.7 kB / 340.1 MB, free: 5.746 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.0008754/0.3202, allocations: 0.5237 MB / 340.6 MB, free: 5.133 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3202, allocations: 4 kB / 340.6 MB, free: 5.129 MB / 270.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000539/0.3207, allocations: 361.6 kB / 340.9 MB, free: 4.766 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3208, allocations: 10.97 kB / 341 MB, free: 4.758 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.3208, allocations: 8 kB / 341 MB, free: 4.75 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001267/0.3209, allocations: 36.78 kB / 341 MB, free: 4.711 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.3211, allocations: 75.89 kB / 341.1 MB, free: 4.637 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.3223, allocations: 1.468 MB / 342.5 MB, free: 3.031 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.3224, allocations: 32.05 kB / 342.6 MB, free: 3 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.3225, allocations: 12 kB / 342.6 MB, free: 2.988 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: 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.0001837/0.3227, allocations: 169.7 kB / 342.8 MB, free: 2.812 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.3227, allocations: 35.53 kB / 342.8 MB, free: 2.777 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.247e-05/0.3228, allocations: 43.53 kB / 342.8 MB, free: 2.734 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3228, allocations: 4.125 kB / 342.8 MB, free: 2.73 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3228, allocations: 0 / 342.8 MB, free: 2.73 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.3228, allocations: 11.98 kB / 342.8 MB, free: 2.719 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009498/0.3238, allocations: 0.7101 MB / 343.6 MB, free: 1.934 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3238, allocations: 0 / 343.6 MB, free: 1.934 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.324, allocations: 35.97 kB / 343.6 MB, free: 1.898 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.218e-05/0.3241, allocations: 28.88 kB / 343.6 MB, free: 1.867 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.3241, allocations: 7.938 kB / 343.6 MB, free: 1.859 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008721/0.325, allocations: 1.327 MB / 345 MB, free: 412 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.325, allocations: 4.062 kB / 345 MB, free: 408 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004726/0.3254, allocations: 361.7 kB / 345.3 MB, free: 24 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.937e-05/0.3255, allocations: 108.7 kB / 345.4 MB, free: 15.9 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.3256, allocations: 4 kB / 345.4 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.3257, allocations: 16.03 kB / 345.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.3258, allocations: 11.98 kB / 345.4 MB, free: 15.87 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.3258, allocations: 4 kB / 345.5 MB, free: 15.86 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002145/0.326, allocations: 235.2 kB / 345.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.326, allocations: 0 / 345.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004037/0.3264, allocations: 68 kB / 345.7 MB, free: 15.57 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.0001159/0.3265, allocations: 103.2 kB / 345.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000522/0.3271, allocations: 319.7 kB / 346.2 MB, free: 15.13 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3271, allocations: 0 / 346.2 MB, free: 15.13 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.3273, allocations: 182.6 kB / 346.3 MB, free: 14.94 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.3277, allocations: 49.66 kB / 346.4 MB, free: 14.89 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.3291, allocations: 1.098 MB / 347.5 MB, free: 13.76 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.3295, allocations: 0.8184 MB / 348.3 MB, free: 12.91 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.3297, allocations: 39.2 kB / 348.3 MB, free: 12.88 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/0.3297, allocations: 31.42 kB / 348.4 MB, free: 12.85 MB / 286.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3297, allocations: 0 / 348.4 MB, free: 12.85 MB / 286.1 MB Notification: Performance of Templates: time 0.006392/0.3361, allocations: 2.527 MB / 350.9 MB, free: 10.32 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)