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.001661/0.001662, 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.001875/0.001875, allocations: 195.5 kB / 16.25 MB, free: 6.621 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.567/1.567, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.001641/0.001641, allocations: 47.94 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3109, allocations: 46.62 MB / 324.8 MB, free: 1.914 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004999/0.316, allocations: 3.082 MB / 327.9 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002968/0.3191, allocations: 0.9853 MB / 328.9 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002958/0.3194, allocations: 11.53 kB / 328.9 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.3198, allocations: 74.2 kB / 329 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.32, allocations: 82.3 kB / 329.1 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006802/0.3207, allocations: 196.1 kB / 329.3 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007915/0.3215, allocations: 0.5425 MB / 329.8 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005176/0.3221, allocations: 227.3 kB / 330 MB, free: 13.9 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003501/0.3224, allocations: 167 kB / 330.2 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.3227, allocations: 186.9 kB / 330.4 MB, free: 13.67 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.161e-05/0.3228, allocations: 36.41 kB / 330.4 MB, free: 13.67 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.323, allocations: 52.3 kB / 330.5 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.519e-05/0.3231, allocations: 85.06 kB / 330.5 MB, free: 13.59 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003113/0.3234, allocations: 226 kB / 330.8 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007547/0.3242, allocations: 0.5565 MB / 331.3 MB, free: 13.01 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3242, allocations: 0 / 331.3 MB, free: 13.01 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3242, allocations: 1.188 kB / 331.3 MB, free: 13.01 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.537e-06/0.3242, allocations: 0 / 331.3 MB, free: 13.01 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.00143/0.3256, allocations: 0.7389 MB / 332.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.353e-05/0.3257, allocations: 9.25 kB / 332.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.3258, allocations: 63.08 kB / 332.1 MB, free: 12.33 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006342/0.3265, allocations: 406.5 kB / 332.5 MB, free: 11.96 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.3265, allocations: 28.66 kB / 332.6 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.867e-05/0.3266, allocations: 38.19 kB / 332.6 MB, free: 11.93 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008976/0.3275, allocations: 490.8 kB / 333.1 MB, free: 11.53 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.3275, allocations: 10.14 kB / 333.1 MB, free: 11.52 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.3276, allocations: 17.56 kB / 333.1 MB, free: 11.51 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.3276, allocations: 11.94 kB / 333.1 MB, free: 11.51 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.3281, allocations: 251.8 kB / 333.4 MB, free: 11.38 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002855/0.331, allocations: 2.829 MB / 336.2 MB, free: 8.414 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/0.3315, allocations: 162.7 kB / 336.3 MB, free: 8.246 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.3316, allocations: 72.78 kB / 336.4 MB, free: 8.172 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000256/0.3319, allocations: 93.03 kB / 336.5 MB, free: 8.062 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.3319, allocations: 38.5 kB / 336.5 MB, free: 8.016 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.492e-06/0.332, allocations: 0 / 336.5 MB, free: 8.016 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.001303/0.3333, allocations: 0.6145 MB / 337.2 MB, free: 7.344 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.3333, allocations: 55.41 kB / 337.2 MB, free: 7.277 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000329/0.3337, allocations: 341.6 kB / 337.5 MB, free: 6.934 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.3337, allocations: 37.7 kB / 337.6 MB, free: 6.891 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.3339, allocations: 295 kB / 337.9 MB, free: 6.598 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.641e-05/0.334, allocations: 74.95 kB / 337.9 MB, free: 6.523 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.935e-05/0.3341, allocations: 69.55 kB / 338 MB, free: 6.449 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3343, allocations: 354.7 kB / 338.4 MB, free: 6.094 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.3344, allocations: 63.75 kB / 338.4 MB, free: 6.031 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.3347, allocations: 207.7 kB / 338.6 MB, free: 5.758 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.0009183/0.3356, allocations: 0.512 MB / 339.1 MB, free: 5.156 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3357, allocations: 0 / 339.1 MB, free: 5.156 MB / 270.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006015/0.3363, allocations: 366 kB / 339.5 MB, free: 4.789 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3363, allocations: 11.12 kB / 339.5 MB, free: 4.781 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.3363, allocations: 8.031 kB / 339.5 MB, free: 4.773 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001387/0.3365, allocations: 36.78 kB / 339.5 MB, free: 4.734 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.3367, allocations: 75.91 kB / 339.6 MB, free: 4.66 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/0.3381, allocations: 1.635 MB / 341.3 MB, free: 2.883 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.3383, allocations: 23.98 kB / 341.3 MB, free: 2.859 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.3384, allocations: 16.06 kB / 341.3 MB, free: 2.844 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.0001852/0.3386, allocations: 173.7 kB / 341.5 MB, free: 2.664 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/0.3386, allocations: 39.47 kB / 341.5 MB, free: 2.625 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.361e-05/0.3387, allocations: 35.58 kB / 341.5 MB, free: 2.59 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3387, allocations: 4 kB / 341.5 MB, free: 2.586 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.3387, allocations: 0 / 341.5 MB, free: 2.586 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3387, allocations: 0 / 341.5 MB, free: 2.586 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009243/0.3396, allocations: 0.7149 MB / 342.3 MB, free: 1.797 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3396, allocations: 4 kB / 342.3 MB, free: 1.793 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.3398, allocations: 31.98 kB / 342.3 MB, free: 1.762 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.439e-05/0.3399, allocations: 24.84 kB / 342.3 MB, free: 1.734 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.3399, allocations: 8 kB / 342.3 MB, free: 1.727 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.3413, allocations: 1.43 MB / 343.8 MB, free: 164 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3413, allocations: 4.141 kB / 343.8 MB, free: 160 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000592/0.3419, allocations: 372.6 kB / 344.1 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/0.342, allocations: 104.7 kB / 344.2 MB, free: 15.64 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.3421, allocations: 3.938 kB / 344.2 MB, free: 15.64 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.3422, allocations: 16.06 kB / 344.2 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.3423, allocations: 15.91 kB / 344.3 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.3423, allocations: 4 kB / 344.3 MB, free: 15.61 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000205/0.3425, allocations: 235.2 kB / 344.5 MB, free: 15.38 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.074e-06/0.3425, allocations: 0 / 344.5 MB, free: 15.38 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003962/0.3429, allocations: 71.94 kB / 344.6 MB, free: 15.3 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.0001144/0.343, allocations: 107.2 kB / 344.7 MB, free: 15.19 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005409/0.3436, allocations: 311.7 kB / 345 MB, free: 14.87 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3436, allocations: 0 / 345 MB, free: 14.87 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.3438, allocations: 190.8 kB / 345.2 MB, free: 14.67 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.3441, allocations: 33.56 kB / 345.2 MB, free: 14.64 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.3456, allocations: 1.034 MB / 346.2 MB, free: 13.58 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/0.3461, allocations: 0.8146 MB / 347 MB, free: 12.73 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001236/0.3463, allocations: 39.27 kB / 347.1 MB, free: 12.7 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.903e-05/0.3463, allocations: 31.44 kB / 347.1 MB, free: 12.67 MB / 286.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3463, allocations: 0 / 347.1 MB, free: 12.67 MB / 286.1 MB Notification: Performance of Templates: time 0.006612/0.353, allocations: 2.665 MB / 349.8 MB, free: 10.01 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)