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.0009509/0.0009513, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001025/0.001025, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004348/0.0004349, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2917, allocations: 47.59 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.00325/0.295, allocations: 2.576 MB / 329 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002111/0.2972, allocations: 0.9458 MB / 330 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002616/0.2975, allocations: 10.72 kB / 330 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.2977, allocations: 67.02 kB / 330.1 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.2979, allocations: 81.25 kB / 330.1 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.2984, allocations: 150.5 kB / 330.3 MB, free: 14.35 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005509/0.2989, allocations: 487.3 kB / 330.8 MB, free: 14.06 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003189/0.2993, allocations: 160.2 kB / 330.9 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.2995, allocations: 132.5 kB / 331.1 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.2997, allocations: 141.4 kB / 331.2 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.2997, allocations: 13.16 kB / 331.2 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.2998, allocations: 24.25 kB / 331.2 MB, free: 13.79 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.777e-05/0.2999, allocations: 56.67 kB / 331.3 MB, free: 13.75 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.922e-05/0.3, allocations: 112.6 kB / 331.4 MB, free: 13.67 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004244/0.3004, allocations: 407.6 kB / 331.8 MB, free: 13.36 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3005, allocations: 0 / 331.8 MB, free: 13.36 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3005, allocations: 4 kB / 331.8 MB, free: 13.36 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.3005, allocations: 0 / 331.8 MB, free: 13.36 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.0009382/0.3014, allocations: 0.6482 MB / 332.4 MB, free: 12.78 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.3015, allocations: 8.688 kB / 332.5 MB, free: 12.78 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.577e-05/0.3016, allocations: 55.06 kB / 332.5 MB, free: 12.75 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005116/0.3021, allocations: 393.5 kB / 332.9 MB, free: 12.39 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.3021, allocations: 37.67 kB / 332.9 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.555e-05/0.3022, allocations: 42.19 kB / 333 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007778/0.303, allocations: 489.7 kB / 333.4 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.303, allocations: 5.469 kB / 333.5 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.635e-05/0.3031, allocations: 17.88 kB / 333.5 MB, free: 11.94 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.3031, allocations: 15.28 kB / 333.5 MB, free: 11.93 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005163/0.3036, allocations: 248.2 kB / 333.7 MB, free: 11.81 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.3059, allocations: 2.822 MB / 336.5 MB, free: 9.086 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/0.3064, allocations: 174.5 kB / 336.7 MB, free: 8.906 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.3065, allocations: 72.88 kB / 336.8 MB, free: 8.832 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/0.3067, allocations: 85.06 kB / 336.9 MB, free: 8.73 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.3067, allocations: 34.56 kB / 336.9 MB, free: 8.688 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.3067, allocations: 0 / 336.9 MB, free: 8.688 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.001262/0.308, allocations: 0.6263 MB / 337.5 MB, free: 8.004 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3081, allocations: 59.25 kB / 337.6 MB, free: 7.934 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.3084, allocations: 341.7 kB / 337.9 MB, free: 7.59 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.3084, allocations: 29.7 kB / 338 MB, free: 7.555 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.3086, allocations: 298.9 kB / 338.2 MB, free: 7.258 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.643e-05/0.3087, allocations: 71.09 kB / 338.3 MB, free: 7.188 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/0.3087, allocations: 4 kB / 338.3 MB, free: 7.184 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3088, allocations: 350.8 kB / 338.7 MB, free: 6.832 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.3089, allocations: 71.75 kB / 338.7 MB, free: 6.762 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.3092, allocations: 223.8 kB / 338.9 MB, free: 6.473 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: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y ($START.inverseCapacity.mass.T = $START.directCapacity.heatFlowToTemperature.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005816/0.3097, allocations: 273.6 kB / 339.2 MB, free: 6.188 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3098, allocations: 7.938 kB / 339.2 MB, free: 6.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005398/0.3103, allocations: 357.4 kB / 339.6 MB, free: 5.82 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.3103, allocations: 11.66 kB / 339.6 MB, free: 5.812 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.3104, allocations: 8 kB / 339.6 MB, free: 5.805 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001498/0.3105, allocations: 32.84 kB / 339.6 MB, free: 5.77 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.3108, allocations: 75.91 kB / 339.7 MB, free: 5.695 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.312, allocations: 1.463 MB / 341.2 MB, free: 4.094 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.3122, allocations: 23.94 kB / 341.2 MB, free: 4.07 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.3122, allocations: 16 kB / 341.2 MB, free: 4.055 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: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y. 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000185/0.3124, allocations: 166.2 kB / 341.4 MB, free: 3.883 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/0.3124, allocations: 43.48 kB / 341.4 MB, free: 3.84 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.93e-05/0.3125, allocations: 35.73 kB / 341.4 MB, free: 3.805 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3125, allocations: 3.984 kB / 341.4 MB, free: 3.801 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3125, allocations: 7.938 kB / 341.5 MB, free: 3.793 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3125, allocations: 0 / 341.5 MB, free: 3.793 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008744/0.3134, allocations: 0.7189 MB / 342.2 MB, free: 3 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3134, allocations: 0 / 342.2 MB, free: 3 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.3136, allocations: 35.98 kB / 342.2 MB, free: 2.965 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-05/0.3137, allocations: 28.78 kB / 342.2 MB, free: 2.934 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.3137, allocations: 7.938 kB / 342.2 MB, free: 2.926 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008741/0.3146, allocations: 1.32 MB / 343.6 MB, free: 1.473 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3146, allocations: 0 / 343.6 MB, free: 1.473 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.3151, allocations: 376.7 kB / 343.9 MB, free: 1.082 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.3152, allocations: 108.6 kB / 344 MB, free: 0.957 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.3152, allocations: 4 kB / 344 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.3153, allocations: 15.98 kB / 344.1 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.3154, allocations: 15.92 kB / 344.1 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.3154, allocations: 8.234 kB / 344.1 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002183/0.3156, allocations: 235.2 kB / 344.3 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3156, allocations: 0 / 344.3 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004085/0.316, allocations: 64 kB / 344.4 MB, free: 0.6211 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001155/0.3161, allocations: 99.03 kB / 344.5 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005872/0.3167, allocations: 314.6 kB / 344.8 MB, free: 196 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3168, allocations: 0 / 344.8 MB, free: 196 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.317, allocations: 191.8 kB / 345 MB, free: 15.99 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.3173, allocations: 41.48 kB / 345 MB, free: 15.95 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.3191, allocations: 1.043 MB / 346 MB, free: 14.88 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000528/0.3197, allocations: 0.8184 MB / 346.9 MB, free: 14.03 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.3198, allocations: 39.27 kB / 346.9 MB, free: 14 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.463e-05/0.3199, allocations: 39.42 kB / 346.9 MB, free: 13.96 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3199, allocations: 0 / 346.9 MB, free: 13.96 MB / 286.1 MB Notification: Performance of Templates: time 0.0074/0.3273, allocations: 2.46 MB / 349.4 MB, free: 11.5 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)