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.001248/0.001248, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.435/1.435, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.001387/0.001387, allocations: 55.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.251, allocations: 46.63 MB / 325.3 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003693/0.2547, allocations: 3.059 MB / 328.4 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.2564, allocations: 1.005 MB / 329.4 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.2566, allocations: 11.5 kB / 329.4 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.2569, allocations: 95.36 kB / 329.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.2571, allocations: 93.12 kB / 329.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.2576, allocations: 219.2 kB / 329.8 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005121/0.2581, allocations: 0.5473 MB / 330.3 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003515/0.2585, allocations: 214.6 kB / 330.5 MB, free: 13.76 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.2587, allocations: 167.4 kB / 330.7 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.2589, allocations: 183.4 kB / 330.9 MB, free: 13.53 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.276e-05/0.259, allocations: 36.84 kB / 330.9 MB, free: 13.53 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.2592, allocations: 54.95 kB / 331 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.498e-05/0.2593, allocations: 89.61 kB / 331.1 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002547/0.2596, allocations: 229.4 kB / 331.3 MB, free: 13.28 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006343/0.2602, allocations: 0.5534 MB / 331.8 MB, free: 12.87 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.257e-06/0.2602, allocations: 0 / 331.8 MB, free: 12.87 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2602, allocations: 0 / 331.8 MB, free: 12.87 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.078e-06/0.2602, allocations: 0 / 331.8 MB, free: 12.87 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.0009993/0.2612, allocations: 0.7317 MB / 332.6 MB, free: 12.23 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2613, allocations: 9.031 kB / 332.6 MB, free: 12.23 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.955e-05/0.2614, allocations: 63.19 kB / 332.6 MB, free: 12.19 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005225/0.2619, allocations: 410.5 kB / 333 MB, free: 11.82 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.262, allocations: 29.19 kB / 333.1 MB, free: 11.8 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.967e-05/0.262, allocations: 37.91 kB / 333.1 MB, free: 11.79 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007135/0.2628, allocations: 495.1 kB / 333.6 MB, free: 11.38 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.2628, allocations: 6.219 kB / 333.6 MB, free: 11.38 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.2628, allocations: 17.69 kB / 333.6 MB, free: 11.36 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.2628, allocations: 11.41 kB / 333.6 MB, free: 11.36 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005342/0.2634, allocations: 247.4 kB / 333.9 MB, free: 11.17 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002499/0.2659, allocations: 2.846 MB / 336.7 MB, free: 8.168 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004693/0.2664, allocations: 162.7 kB / 336.9 MB, free: 8 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.2665, allocations: 76.77 kB / 336.9 MB, free: 7.922 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000222/0.2668, allocations: 81.11 kB / 337 MB, free: 7.824 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.2668, allocations: 38.5 kB / 337.1 MB, free: 7.777 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.2668, allocations: 0 / 337.1 MB, free: 7.777 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.00155/0.2684, allocations: 0.6232 MB / 337.7 MB, free: 7.098 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.2684, allocations: 55.41 kB / 337.7 MB, free: 7.031 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003778/0.2688, allocations: 341.6 kB / 338.1 MB, free: 6.688 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.2689, allocations: 29.7 kB / 338.1 MB, free: 6.652 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.2691, allocations: 295 kB / 338.4 MB, free: 6.359 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.7e-05/0.2692, allocations: 75.02 kB / 338.5 MB, free: 6.285 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-05/0.2693, allocations: 69.61 kB / 338.5 MB, free: 6.211 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.2694, allocations: 354.7 kB / 338.9 MB, free: 5.855 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.2696, allocations: 71.69 kB / 338.9 MB, free: 5.785 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.2698, allocations: 211.5 kB / 339.1 MB, free: 5.508 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.0009673/0.2708, allocations: 0.512 MB / 339.7 MB, free: 4.906 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.2708, allocations: 4 kB / 339.7 MB, free: 4.902 MB / 270.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006941/0.2715, allocations: 361.4 kB / 340 MB, free: 4.539 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.2716, allocations: 10.5 kB / 340 MB, free: 4.531 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.2716, allocations: 4 kB / 340 MB, free: 4.527 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001417/0.2717, allocations: 41.44 kB / 340.1 MB, free: 4.484 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.272, allocations: 75.91 kB / 340.1 MB, free: 4.41 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.2734, allocations: 1.635 MB / 341.8 MB, free: 2.633 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.2736, allocations: 16 kB / 341.8 MB, free: 2.617 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.2736, allocations: 12 kB / 341.8 MB, free: 2.605 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.0002142/0.2739, allocations: 161.8 kB / 342 MB, free: 2.438 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-05/0.2739, allocations: 47.45 kB / 342 MB, free: 2.391 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.438e-05/0.274, allocations: 39.66 kB / 342 MB, free: 2.352 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.274, allocations: 0 / 342 MB, free: 2.352 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.274, allocations: 0 / 342 MB, free: 2.352 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.274, allocations: 4 kB / 342.1 MB, free: 2.348 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.2752, allocations: 0.7179 MB / 342.8 MB, free: 1.555 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2752, allocations: 0 / 342.8 MB, free: 1.555 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.2754, allocations: 43.95 kB / 342.8 MB, free: 1.512 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001043/0.2755, allocations: 20.84 kB / 342.8 MB, free: 1.488 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.2755, allocations: 8 kB / 342.8 MB, free: 1.48 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.2767, allocations: 1.43 MB / 344.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2767, allocations: 0 / 344.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005305/0.2773, allocations: 368.7 kB / 344.6 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.273e-05/0.2774, allocations: 104.6 kB / 344.7 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.2774, allocations: 4 kB / 344.7 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.2775, allocations: 8 kB / 344.7 MB, free: 15.4 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.2776, allocations: 15.97 kB / 344.8 MB, free: 15.38 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.976e-06/0.2776, allocations: 3.984 kB / 344.8 MB, free: 15.38 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002422/0.2778, allocations: 239.2 kB / 345 MB, free: 15.15 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2779, allocations: 0 / 345 MB, free: 15.15 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004853/0.2783, allocations: 72 kB / 345.1 MB, free: 15.08 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.0001385/0.2785, allocations: 99.19 kB / 345.2 MB, free: 14.97 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006296/0.2791, allocations: 323.5 kB / 345.5 MB, free: 14.64 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2791, allocations: 0 / 345.5 MB, free: 14.64 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.2794, allocations: 186.6 kB / 345.7 MB, free: 14.45 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.2797, allocations: 37.55 kB / 345.7 MB, free: 14.41 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.2813, allocations: 0.8464 MB / 346.5 MB, free: 13.53 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.2817, allocations: 0.8224 MB / 347.4 MB, free: 12.68 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.2818, allocations: 35.28 kB / 347.4 MB, free: 12.65 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.2819, allocations: 35.42 kB / 347.4 MB, free: 12.62 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2819, allocations: 0 / 347.4 MB, free: 12.62 MB / 286.1 MB Notification: Performance of Templates: time 0.006932/0.2888, allocations: 2.683 MB / 350.1 MB, free: 9.938 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)