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.0009891/0.0009892, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.01007/0.01007, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.672/1.672, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0009494/0.0009487, allocations: 16 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2895, allocations: 47.58 MB / 327 MB, free: 1.527 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003271/0.2928, allocations: 2.705 MB / 329.7 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.2949, allocations: 0.9745 MB / 330.7 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.2952, allocations: 10.22 kB / 330.7 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.2954, allocations: 66.38 kB / 330.8 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.2956, allocations: 85.44 kB / 330.9 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/0.2961, allocations: 194.2 kB / 331 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006339/0.2968, allocations: 0.5056 MB / 331.6 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004068/0.2972, allocations: 202.2 kB / 331.8 MB, free: 13.86 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.2974, allocations: 140.6 kB / 331.9 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.2976, allocations: 149.1 kB / 332 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.818e-05/0.2977, allocations: 12.34 kB / 332 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.2978, allocations: 25.12 kB / 332.1 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.31e-05/0.2979, allocations: 64.34 kB / 332.1 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002357/0.2981, allocations: 220.4 kB / 332.3 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005467/0.2987, allocations: 0.4931 MB / 332.8 MB, free: 13.09 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2987, allocations: 0 / 332.8 MB, free: 13.09 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.2987, allocations: 0 / 332.8 MB, free: 13.09 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.2987, allocations: 1.312 kB / 332.8 MB, free: 13.09 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.001134/0.2998, allocations: 0.6528 MB / 333.5 MB, free: 12.5 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/0.2999, allocations: 9.781 kB / 333.5 MB, free: 12.5 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.3, allocations: 59 kB / 333.6 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006115/0.3007, allocations: 410.8 kB / 334 MB, free: 12.09 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/0.3007, allocations: 28.84 kB / 334 MB, free: 12.08 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.406e-05/0.3008, allocations: 46.84 kB / 334 MB, free: 12.06 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008113/0.3016, allocations: 488.6 kB / 334.5 MB, free: 11.66 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.3017, allocations: 6.312 kB / 334.5 MB, free: 11.65 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.3017, allocations: 29.36 kB / 334.6 MB, free: 11.63 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.3017, allocations: 10.66 kB / 334.6 MB, free: 11.63 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004914/0.3022, allocations: 247.6 kB / 334.8 MB, free: 11.51 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002334/0.3046, allocations: 2.823 MB / 337.6 MB, free: 8.539 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/0.305, allocations: 174.7 kB / 337.8 MB, free: 8.359 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.3052, allocations: 80.66 kB / 337.9 MB, free: 8.277 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000156/0.3053, allocations: 85.09 kB / 338 MB, free: 8.176 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.3054, allocations: 34.5 kB / 338 MB, free: 8.133 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.3054, allocations: 0 / 338 MB, free: 8.133 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.00125/0.3066, allocations: 0.6308 MB / 338.6 MB, free: 7.445 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.3067, allocations: 55.41 kB / 338.7 MB, free: 7.379 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.307, allocations: 337.7 kB / 339 MB, free: 7.039 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.307, allocations: 37.69 kB / 339 MB, free: 6.996 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.3072, allocations: 310.8 kB / 339.3 MB, free: 6.688 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.788e-05/0.3073, allocations: 67.03 kB / 339.4 MB, free: 6.621 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.3073, allocations: 33.7 kB / 339.4 MB, free: 6.582 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3075, allocations: 346.8 kB / 339.8 MB, free: 6.234 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.3076, allocations: 75.73 kB / 339.9 MB, free: 6.16 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.3078, allocations: 215.7 kB / 340.1 MB, free: 5.879 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.0009499/0.3088, allocations: 0.5237 MB / 340.6 MB, free: 5.266 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3088, allocations: 4 kB / 340.6 MB, free: 5.262 MB / 270.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005662/0.3094, allocations: 369.8 kB / 341 MB, free: 4.891 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3094, allocations: 4 kB / 341 MB, free: 4.887 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.3094, allocations: 11.94 kB / 341 MB, free: 4.875 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000165/0.3096, allocations: 32.84 kB / 341 MB, free: 4.84 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.3098, allocations: 71.91 kB / 341.1 MB, free: 4.77 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.3111, allocations: 1.467 MB / 342.5 MB, free: 3.164 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.3113, allocations: 20 kB / 342.6 MB, free: 3.145 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.3113, allocations: 20.06 kB / 342.6 MB, free: 3.125 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.0002436/0.3116, allocations: 165.7 kB / 342.7 MB, free: 2.953 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/0.3117, allocations: 39.53 kB / 342.8 MB, free: 2.914 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.666e-05/0.3117, allocations: 39.53 kB / 342.8 MB, free: 2.875 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3117, allocations: 0 / 342.8 MB, free: 2.875 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.3117, allocations: 4 kB / 342.8 MB, free: 2.871 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3118, allocations: 3.984 kB / 342.8 MB, free: 2.867 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009568/0.3127, allocations: 0.7181 MB / 343.5 MB, free: 2.074 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3127, allocations: 144 / 343.5 MB, free: 2.074 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.3129, allocations: 35.98 kB / 343.6 MB, free: 2.039 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.361e-05/0.313, allocations: 28.83 kB / 343.6 MB, free: 2.008 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.313, allocations: 12.03 kB / 343.6 MB, free: 1.996 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009422/0.314, allocations: 1.331 MB / 345 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.314, allocations: 0 / 345 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005309/0.3145, allocations: 375.5 kB / 345.3 MB, free: 152 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/0.3146, allocations: 108.6 kB / 345.4 MB, free: 24 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.3146, allocations: 8 kB / 345.4 MB, free: 16 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.3148, allocations: 12.03 kB / 345.4 MB, free: 4 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.3148, allocations: 15.98 kB / 345.5 MB, free: 15.99 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.3148, allocations: 4 kB / 345.5 MB, free: 15.98 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002114/0.3151, allocations: 235.2 kB / 345.7 MB, free: 15.75 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3151, allocations: 0 / 345.7 MB, free: 15.75 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004369/0.3155, allocations: 68 kB / 345.8 MB, free: 15.69 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.0001612/0.3157, allocations: 99.19 kB / 345.9 MB, free: 15.58 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006832/0.3164, allocations: 315.7 kB / 346.2 MB, free: 15.26 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3164, allocations: 0 / 346.2 MB, free: 15.26 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.3166, allocations: 190.6 kB / 346.4 MB, free: 15.06 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.3171, allocations: 37.5 kB / 346.4 MB, free: 15.02 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.3192, allocations: 1.094 MB / 347.5 MB, free: 13.9 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.3196, allocations: 0.8223 MB / 348.3 MB, free: 13.05 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.3197, allocations: 39.27 kB / 348.3 MB, free: 13.01 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.027e-05/0.3198, allocations: 35.36 kB / 348.4 MB, free: 12.98 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3198, allocations: 0 / 348.4 MB, free: 12.98 MB / 286.1 MB Notification: Performance of Templates: time 0.006855/0.3267, allocations: 2.531 MB / 350.9 MB, free: 10.45 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)