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.006201/0.006201, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001361/0.001361, allocations: 195.3 kB / 16.67 MB, free: 5.52 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.554/1.554, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.001253/0.001253, allocations: 55.92 kB / 326.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1027, allocations: 46.61 MB / 373.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004153/0.1068, allocations: 3.053 MB / 376.2 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.1085, allocations: 1.022 MB / 377.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.1087, allocations: 15.88 kB / 377.2 MB, free: 492 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.109, allocations: 87.11 kB / 377.3 MB, free: 404 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.1092, allocations: 94.97 kB / 377.4 MB, free: 308 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004856/0.1097, allocations: 211.7 kB / 377.6 MB, free: 96 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2185/0.3282, allocations: 0.5437 MB / 378.2 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005031/0.3287, allocations: 220.8 kB / 378.4 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004258/0.3291, allocations: 179.5 kB / 378.5 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/0.3294, allocations: 177.7 kB / 378.7 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.716e-05/0.3295, allocations: 36.06 kB / 378.8 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.3297, allocations: 51.59 kB / 378.8 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.066e-05/0.3298, allocations: 92.53 kB / 378.9 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.3301, allocations: 223.8 kB / 379.1 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007554/0.3308, allocations: 0.5797 MB / 379.7 MB, free: 9.465 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.3308, allocations: 0 / 379.7 MB, free: 9.465 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3308, allocations: 3.969 kB / 379.7 MB, free: 9.465 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.3309, allocations: 0 / 379.7 MB, free: 9.465 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.001079/0.3319, allocations: 0.7386 MB / 380.4 MB, free: 8.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.332, allocations: 10.09 kB / 380.4 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.3321, allocations: 56.95 kB / 380.5 MB, free: 8.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007727/0.3329, allocations: 426.5 kB / 380.9 MB, free: 8.676 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.157e-05/0.333, allocations: 35.3 kB / 381 MB, free: 8.676 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.3331, allocations: 38.94 kB / 381 MB, free: 8.676 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008266/0.3339, allocations: 489.4 kB / 381.5 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.334, allocations: 9.031 kB / 381.5 MB, free: 8.445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.334, allocations: 17.97 kB / 381.5 MB, free: 8.445 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.334, allocations: 13.58 kB / 381.5 MB, free: 8.445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004713/0.3345, allocations: 244.6 kB / 381.7 MB, free: 8.445 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.3363, allocations: 2.814 MB / 384.6 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004586/0.3368, allocations: 156.8 kB / 384.7 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.337, allocations: 74.83 kB / 384.8 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.3371, allocations: 82.55 kB / 384.9 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.3371, allocations: 40.05 kB / 384.9 MB, free: 6.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.464e-06/0.3371, allocations: 0.75 kB / 384.9 MB, free: 6.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001198/0.3383, allocations: 0.6259 MB / 385.5 MB, free: 5.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.3384, allocations: 54 kB / 385.6 MB, free: 5.508 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.3387, allocations: 342.6 kB / 385.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.3387, allocations: 29.7 kB / 386 MB, free: 5.297 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.3388, allocations: 301.8 kB / 386.2 MB, free: 5.055 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.3389, allocations: 76.2 kB / 386.3 MB, free: 4.996 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.944e-05/0.339, allocations: 67.84 kB / 386.4 MB, free: 4.953 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.711e-05/0.3391, allocations: 345.7 kB / 386.7 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.3392, allocations: 64.47 kB / 386.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.3394, allocations: 218 kB / 387 MB, free: 4.387 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.0008802/0.3403, allocations: 0.5318 MB / 387.5 MB, free: 3.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3403, allocations: 0 / 387.5 MB, free: 3.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005635/0.3408, allocations: 351.4 kB / 387.9 MB, free: 3.848 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.3409, allocations: 11.75 kB / 387.9 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3409, allocations: 5.219 kB / 387.9 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001397/0.341, allocations: 33.48 kB / 387.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.3413, allocations: 77.45 kB / 388 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009641/0.3423, allocations: 1.639 MB / 389.6 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.3424, allocations: 19.42 kB / 389.7 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.3425, allocations: 14.28 kB / 389.7 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.0001701/0.3426, allocations: 170.3 kB / 389.8 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.3427, allocations: 32.56 kB / 389.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.347e-05/0.3428, allocations: 38.84 kB / 389.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3428, allocations: 6.969 kB / 389.9 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.3428, allocations: 0 / 389.9 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3428, allocations: 1.031 kB / 389.9 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008685/0.3437, allocations: 0.7131 MB / 390.6 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3437, allocations: 0 / 390.6 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.3439, allocations: 40.39 kB / 390.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.652e-05/0.344, allocations: 30.27 kB / 390.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.344, allocations: 6.062 kB / 390.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007189/0.3447, allocations: 1.424 MB / 392.1 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3447, allocations: 0 / 392.1 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005437/0.3453, allocations: 370.3 kB / 392.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.132e-05/0.3454, allocations: 106.6 kB / 392.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.3454, allocations: 6.234 kB / 392.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.3455, allocations: 7.422 kB / 392.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.3456, allocations: 10.16 kB / 392.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.3456, allocations: 11.81 kB / 392.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002392/0.3458, allocations: 236.3 kB / 392.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3458, allocations: 0 / 392.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000499/0.3464, allocations: 67.97 kB / 392.9 MB, free: 15.55 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.0001378/0.3465, allocations: 93.88 kB / 393 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006535/0.3472, allocations: 326 kB / 393.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3472, allocations: 3.938 kB / 393.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.3474, allocations: 178.2 kB / 393.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.3478, allocations: 39.78 kB / 393.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.3495, allocations: 0.8424 MB / 394.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.3499, allocations: 0.8119 MB / 395.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.3501, allocations: 43.58 kB / 395.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.667e-05/0.3502, allocations: 29.95 kB / 395.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3502, allocations: 3.938 kB / 395.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of Templates: time 0.008093/0.3583, allocations: 2.781 MB / 398.1 MB, free: 13.58 MB / 334.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)