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.008218/0.008218, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001412/0.001412, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.579/1.579, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.00133/0.00133, allocations: 47.92 kB / 326.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1091, allocations: 46.62 MB / 373.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004878/0.114, allocations: 3.049 MB / 376.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.1164, allocations: 1.014 MB / 377.2 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005242/0.1169, allocations: 11.94 kB / 377.2 MB, free: 492 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.1174, allocations: 95.05 kB / 377.3 MB, free: 396 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.1176, allocations: 95.02 kB / 377.4 MB, free: 300 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006213/0.1183, allocations: 215.6 kB / 377.6 MB, free: 84 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2413/0.3596, allocations: 0.5386 MB / 378.2 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005845/0.3603, allocations: 227.9 kB / 378.4 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003922/0.3607, allocations: 176.9 kB / 378.6 MB, free: 9.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.361, allocations: 178.5 kB / 378.7 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.976e-05/0.3611, allocations: 41.06 kB / 378.8 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.3613, allocations: 49.92 kB / 378.8 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.953e-05/0.3614, allocations: 88.89 kB / 378.9 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.3616, allocations: 224.9 kB / 379.1 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000937/0.3626, allocations: 0.5827 MB / 379.7 MB, free: 9.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3626, allocations: 2 kB / 379.7 MB, free: 9.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3626, allocations: 0 / 379.7 MB, free: 9.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.3626, allocations: 0.5 kB / 379.7 MB, free: 9.52 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.001487/0.3641, allocations: 0.7401 MB / 380.4 MB, free: 9.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.3642, allocations: 10.22 kB / 380.5 MB, free: 9.012 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.3644, allocations: 55.72 kB / 380.5 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009632/0.3654, allocations: 424.9 kB / 380.9 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.447e-05/0.3654, allocations: 29.72 kB / 381 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.3656, allocations: 40.39 kB / 381 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.3667, allocations: 488.3 kB / 381.5 MB, free: 8.504 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/0.3667, allocations: 6.625 kB / 381.5 MB, free: 8.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.296e-05/0.3668, allocations: 18.72 kB / 381.5 MB, free: 8.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.3668, allocations: 11.44 kB / 381.5 MB, free: 8.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008139/0.3677, allocations: 249.8 kB / 381.8 MB, free: 8.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002702/0.3704, allocations: 2.811 MB / 384.6 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006501/0.371, allocations: 171.1 kB / 384.7 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.3713, allocations: 65.48 kB / 384.8 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/0.3714, allocations: 88.7 kB / 384.9 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.3715, allocations: 31.36 kB / 384.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.675e-06/0.3715, allocations: 0 / 384.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001829/0.3733, allocations: 0.6249 MB / 385.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.3734, allocations: 53.33 kB / 385.6 MB, free: 5.535 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005443/0.3739, allocations: 341 kB / 385.9 MB, free: 5.359 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.374, allocations: 31.64 kB / 386 MB, free: 5.324 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.3742, allocations: 305.2 kB / 386.2 MB, free: 5.078 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.025e-05/0.3743, allocations: 68.91 kB / 386.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.3744, allocations: 66.12 kB / 386.4 MB, free: 4.984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.742e-05/0.3745, allocations: 350.5 kB / 386.7 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.3748, allocations: 69.03 kB / 386.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.3751, allocations: 218.7 kB / 387 MB, free: 4.41 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.001438/0.3766, allocations: 0.5254 MB / 387.5 MB, free: 4.008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.3766, allocations: 5.438 kB / 387.5 MB, free: 4.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009863/0.3776, allocations: 354.8 kB / 387.9 MB, free: 3.871 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.3776, allocations: 11.47 kB / 387.9 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.3777, allocations: 9.047 kB / 387.9 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/0.3779, allocations: 33.94 kB / 387.9 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/0.3784, allocations: 76.22 kB / 388 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/0.38, allocations: 1.636 MB / 389.6 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/0.3803, allocations: 16.08 kB / 389.7 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.3803, allocations: 13.78 kB / 389.7 MB, free: 2.242 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.0002628/0.3806, allocations: 173.2 kB / 389.8 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-05/0.3807, allocations: 32.81 kB / 389.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.552e-05/0.3808, allocations: 38.77 kB / 389.9 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3808, allocations: 5.031 kB / 389.9 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3808, allocations: 1.906 kB / 389.9 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3809, allocations: 2.25 kB / 389.9 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.3824, allocations: 0.713 MB / 390.6 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3824, allocations: 1.859 kB / 390.6 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/0.3828, allocations: 34.22 kB / 390.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001264/0.3829, allocations: 23.92 kB / 390.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.383, allocations: 6.891 kB / 390.7 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/0.3841, allocations: 1.439 MB / 392.1 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3841, allocations: 1.312 kB / 392.1 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000932/0.3851, allocations: 368.6 kB / 392.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.3852, allocations: 109.9 kB / 392.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.956e-05/0.3853, allocations: 2.688 kB / 392.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.3855, allocations: 6.812 kB / 392.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.997e-05/0.3856, allocations: 10.31 kB / 392.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.3857, allocations: 5.109 kB / 392.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004273/0.3861, allocations: 237.1 kB / 392.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3861, allocations: 4 kB / 392.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008274/0.387, allocations: 66.69 kB / 392.9 MB, free: 15.58 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.000159/0.3871, allocations: 101 kB / 393 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000914/0.3881, allocations: 317.8 kB / 393.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.3881, allocations: 0 / 393.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004326/0.3885, allocations: 183.4 kB / 393.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006797/0.3892, allocations: 40.75 kB / 393.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.3918, allocations: 0.8457 MB / 394.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006623/0.3925, allocations: 0.8127 MB / 395.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002413/0.3928, allocations: 38.41 kB / 395.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.3929, allocations: 33.31 kB / 395.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3929, allocations: 4 kB / 395.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of Templates: time 0.01446/0.4074, allocations: 2.77 MB / 398.1 MB, free: 13.6 MB / 334.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)