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.001197/0.001197, allocations: 109.5 kB / 17.06 MB, free: 5.977 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.001287/0.001287, allocations: 200 kB / 18 MB, free: 5.055 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.498/1.498, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.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.001081/0.001081, allocations: 43.94 kB / 327.8 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08991/0.091, allocations: 46.62 MB / 374.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.00416/0.0952, allocations: 3.057 MB / 377.5 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.0967, allocations: 1.01 MB / 378.5 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.09686, allocations: 7.938 kB / 378.5 MB, free: 500 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.09711, allocations: 99.05 kB / 378.6 MB, free: 400 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.09727, allocations: 95.02 kB / 378.7 MB, free: 304 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004402/0.09771, allocations: 211.6 kB / 378.9 MB, free: 92 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.199/0.2967, allocations: 0.5394 MB / 379.5 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004345/0.2972, allocations: 230.9 kB / 379.7 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003238/0.2975, allocations: 171.9 kB / 379.9 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.2978, allocations: 176.1 kB / 380 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.959e-05/0.2979, allocations: 35.75 kB / 380.1 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.298, allocations: 58.44 kB / 380.1 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.35e-05/0.2981, allocations: 90.69 kB / 380.2 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.2983, allocations: 225.5 kB / 380.4 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009272/0.2993, allocations: 0.579 MB / 381 MB, free: 9.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2993, allocations: 0 / 381 MB, free: 9.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.2993, allocations: 0 / 381 MB, free: 9.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.2993, allocations: 0 / 381 MB, free: 9.5 MB / 318.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.001088/0.3004, allocations: 0.7395 MB / 381.8 MB, free: 8.992 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3004, allocations: 8.969 kB / 381.8 MB, free: 8.992 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.3006, allocations: 57.88 kB / 381.8 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006304/0.3012, allocations: 426.7 kB / 382.2 MB, free: 8.711 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.3013, allocations: 30.94 kB / 382.3 MB, free: 8.711 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.299e-05/0.3014, allocations: 40.03 kB / 382.3 MB, free: 8.711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006751/0.302, allocations: 488.6 kB / 382.8 MB, free: 8.484 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.3021, allocations: 10.08 kB / 382.8 MB, free: 8.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/0.3021, allocations: 18.78 kB / 382.8 MB, free: 8.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.3021, allocations: 12.69 kB / 382.8 MB, free: 8.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004686/0.3026, allocations: 241.6 kB / 383.1 MB, free: 8.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.3045, allocations: 2.818 MB / 385.9 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.305, allocations: 166.1 kB / 386 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.3051, allocations: 73.19 kB / 386.1 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.3052, allocations: 83.77 kB / 386.2 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.3053, allocations: 34.66 kB / 386.2 MB, free: 6.027 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.3053, allocations: 0 / 386.2 MB, free: 6.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001212/0.3065, allocations: 0.6247 MB / 386.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.3065, allocations: 57 kB / 386.9 MB, free: 5.512 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.3069, allocations: 341.7 kB / 387.2 MB, free: 5.336 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.3069, allocations: 27.05 kB / 387.3 MB, free: 5.305 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.3071, allocations: 305.6 kB / 387.6 MB, free: 5.059 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.3071, allocations: 66.16 kB / 387.6 MB, free: 5.008 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.169e-05/0.3072, allocations: 70.06 kB / 387.7 MB, free: 4.961 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.806e-05/0.3073, allocations: 347.2 kB / 388 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.3075, allocations: 67.42 kB / 388.1 MB, free: 4.613 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.3077, allocations: 216.2 kB / 388.3 MB, free: 4.395 MB / 318.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.0009942/0.3087, allocations: 0.5316 MB / 388.8 MB, free: 3.988 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3087, allocations: 2.844 kB / 388.9 MB, free: 3.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006029/0.3093, allocations: 348.5 kB / 389.2 MB, free: 3.855 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.3093, allocations: 11.59 kB / 389.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.3094, allocations: 9.859 kB / 389.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001623/0.3095, allocations: 37.33 kB / 389.2 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.3098, allocations: 71.05 kB / 389.3 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/0.3108, allocations: 1.643 MB / 391 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.311, allocations: 16.42 kB / 391 MB, free: 2.227 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.311, allocations: 23.06 kB / 391 MB, free: 2.219 MB / 318.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.0001919/0.3112, allocations: 168.9 kB / 391.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/0.3113, allocations: 32.59 kB / 391.2 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.349e-05/0.3114, allocations: 37.89 kB / 391.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3114, allocations: 6.156 kB / 391.2 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.3114, allocations: 2.188 kB / 391.2 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.3114, allocations: 0.9375 kB / 391.2 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009081/0.3123, allocations: 0.7158 MB / 392 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3123, allocations: 0 / 392 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.3125, allocations: 32.92 kB / 392 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.56e-05/0.3126, allocations: 26.48 kB / 392 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.3127, allocations: 3.188 kB / 392 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00069/0.3133, allocations: 1.432 MB / 393.5 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3134, allocations: 0 / 393.5 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/0.3139, allocations: 373.3 kB / 393.8 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-05/0.314, allocations: 104.9 kB / 393.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.314, allocations: 6.75 kB / 393.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3142, allocations: 3.5 kB / 393.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.3142, allocations: 15.3 kB / 393.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.3142, allocations: 3.281 kB / 393.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002557/0.3145, allocations: 237.6 kB / 394.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3145, allocations: 0 / 394.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004587/0.315, allocations: 67.03 kB / 394.2 MB, free: 15.56 MB / 334.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.0001289/0.3151, allocations: 99.86 kB / 394.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005781/0.3157, allocations: 322.7 kB / 394.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3157, allocations: 0 / 394.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.3159, allocations: 181.2 kB / 394.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.3163, allocations: 46.83 kB / 394.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.3178, allocations: 0.8349 MB / 395.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/0.3183, allocations: 0.8119 MB / 396.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001328/0.3185, allocations: 39.31 kB / 396.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.022e-05/0.3186, allocations: 37.53 kB / 396.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3186, allocations: 3.938 kB / 396.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of Templates: time 0.008263/0.3268, allocations: 2.838 MB / 399.4 MB, free: 13.57 MB / 334.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)