Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001104/0.001105, allocations: 89.44 kB / 16.31 MB, free: 5.684 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.001176/0.001176, allocations: 177.2 kB / 17.21 MB, free: 5.602 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.757/1.757, allocations: 205.4 MB / 223.4 MB, free: 5.547 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.0005334/0.0005336, allocations: 12 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3134, allocations: 47.58 MB / 327.7 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003447/0.3169, allocations: 2.581 MB / 330.3 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.3188, allocations: 0.9486 MB / 331.2 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.319, allocations: 11.19 kB / 331.3 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.3192, allocations: 63 kB / 331.3 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.3193, allocations: 77.64 kB / 331.4 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004357/0.3198, allocations: 146.4 kB / 331.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005612/0.3203, allocations: 491 kB / 332 MB, free: 14.08 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003337/0.3207, allocations: 160.9 kB / 332.2 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.3209, allocations: 128.8 kB / 332.3 MB, free: 13.91 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.3211, allocations: 140 kB / 332.4 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.002e-05/0.3212, allocations: 13.53 kB / 332.5 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.3213, allocations: 29.23 kB / 332.5 MB, free: 13.81 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.671e-05/0.3214, allocations: 56.75 kB / 332.5 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.3215, allocations: 108 kB / 332.6 MB, free: 13.69 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004609/0.322, allocations: 414.4 kB / 333 MB, free: 13.38 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.809e-06/0.322, allocations: 1.719 kB / 333 MB, free: 13.38 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.322, allocations: 0 / 333 MB, free: 13.38 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.322, allocations: 3.938 kB / 333.1 MB, free: 13.37 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.001012/0.323, allocations: 0.6476 MB / 333.7 MB, free: 12.79 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3231, allocations: 12.59 kB / 333.7 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.3232, allocations: 58.5 kB / 333.8 MB, free: 12.75 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005429/0.3238, allocations: 385.8 kB / 334.1 MB, free: 12.41 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.3238, allocations: 33.23 kB / 334.2 MB, free: 12.39 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-05/0.3239, allocations: 46.69 kB / 334.2 MB, free: 12.37 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008593/0.3247, allocations: 492.6 kB / 334.7 MB, free: 11.96 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.3248, allocations: 2.469 kB / 334.7 MB, free: 11.96 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/0.3248, allocations: 21.31 kB / 334.7 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.3248, allocations: 11.72 kB / 334.7 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000526/0.3254, allocations: 240.2 kB / 335 MB, free: 11.83 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002439/0.3278, allocations: 2.837 MB / 337.8 MB, free: 9.086 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004595/0.3283, allocations: 170.7 kB / 338 MB, free: 8.91 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.3285, allocations: 72.83 kB / 338 MB, free: 8.836 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/0.3287, allocations: 85.06 kB / 338.1 MB, free: 8.734 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.3287, allocations: 34.56 kB / 338.2 MB, free: 8.691 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.3287, allocations: 0 / 338.2 MB, free: 8.691 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.00137/0.3301, allocations: 0.6224 MB / 338.8 MB, free: 8.012 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.3301, allocations: 67.25 kB / 338.9 MB, free: 7.934 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.3305, allocations: 337.7 kB / 339.2 MB, free: 7.594 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.3305, allocations: 25.7 kB / 339.2 MB, free: 7.562 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.3307, allocations: 306.9 kB / 339.5 MB, free: 7.258 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.316e-05/0.3308, allocations: 63.09 kB / 339.6 MB, free: 7.195 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-05/0.3308, allocations: 8 kB / 339.6 MB, free: 7.188 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.331, allocations: 350.8 kB / 339.9 MB, free: 6.836 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.3311, allocations: 75.75 kB / 340 MB, free: 6.762 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.3314, allocations: 211.9 kB / 340.2 MB, free: 6.484 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.0006239/0.3321, allocations: 285.5 kB / 340.5 MB, free: 6.188 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3321, allocations: 0 / 340.5 MB, free: 6.188 MB / 270.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005581/0.3326, allocations: 358.1 kB / 340.8 MB, free: 5.828 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3327, allocations: 14.95 kB / 340.8 MB, free: 5.816 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.3327, allocations: 4 kB / 340.8 MB, free: 5.812 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001444/0.3328, allocations: 36.84 kB / 340.9 MB, free: 5.773 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.3331, allocations: 75.84 kB / 341 MB, free: 5.699 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.3343, allocations: 1.467 MB / 342.4 MB, free: 4.094 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.3345, allocations: 23.92 kB / 342.4 MB, free: 4.07 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.3346, allocations: 20 kB / 342.5 MB, free: 4.051 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.0002082/0.3348, allocations: 166.2 kB / 342.6 MB, free: 3.879 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.3348, allocations: 39.48 kB / 342.7 MB, free: 3.84 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.741e-05/0.3349, allocations: 39.58 kB / 342.7 MB, free: 3.801 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.3349, allocations: 4 kB / 342.7 MB, free: 3.797 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3349, allocations: 0 / 342.7 MB, free: 3.797 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3349, allocations: 0 / 342.7 MB, free: 3.797 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009454/0.3359, allocations: 0.7179 MB / 343.4 MB, free: 3.004 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3359, allocations: 0 / 343.4 MB, free: 3.004 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.3361, allocations: 31.98 kB / 343.5 MB, free: 2.973 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.04e-05/0.3362, allocations: 32.84 kB / 343.5 MB, free: 2.938 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.3362, allocations: 7.938 kB / 343.5 MB, free: 2.93 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009202/0.3371, allocations: 1.324 MB / 344.8 MB, free: 1.473 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3371, allocations: 0 / 344.8 MB, free: 1.473 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005011/0.3376, allocations: 376.8 kB / 345.2 MB, free: 1.082 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.51e-05/0.3377, allocations: 104.6 kB / 345.3 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.3378, allocations: 4.031 kB / 345.3 MB, free: 0.957 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.3379, allocations: 15.95 kB / 345.3 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.3379, allocations: 11.98 kB / 345.3 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.338, allocations: 8 kB / 345.3 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002477/0.3382, allocations: 239.1 kB / 345.6 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3382, allocations: 0 / 345.6 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004556/0.3387, allocations: 68 kB / 345.6 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.0001655/0.3389, allocations: 99.03 kB / 345.7 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000607/0.3395, allocations: 319.7 kB / 346 MB, free: 192 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.3395, allocations: 0 / 346 MB, free: 192 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.3397, allocations: 187.8 kB / 346.2 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.0003756/0.3401, allocations: 37.5 kB / 346.3 MB, free: 15.96 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.3417, allocations: 1.051 MB / 347.3 MB, free: 14.88 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.3422, allocations: 0.8145 MB / 348.1 MB, free: 14.03 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001237/0.3423, allocations: 39.28 kB / 348.2 MB, free: 14 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.568e-05/0.3424, allocations: 31.42 kB / 348.2 MB, free: 13.96 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3424, allocations: 0 / 348.2 MB, free: 13.96 MB / 286.1 MB Notification: Performance of Templates: time 0.006187/0.3486, allocations: 2.468 MB / 350.7 MB, free: 11.5 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1)