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.00946/0.00946, allocations: 101.7 kB / 15.73 MB, free: 6.477 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.001705/0.001705, allocations: 192.6 kB / 16.67 MB, free: 6.391 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.633/1.633, allocations: 205.1 MB / 222.5 MB, free: 4.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.001283/0.001283, allocations: 49.97 kB / 326.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1019, allocations: 46.63 MB / 373.2 MB, free: 1.348 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004068/0.106, allocations: 3.05 MB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.1077, allocations: 1.003 MB / 377.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.1079, allocations: 11.94 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.1082, allocations: 95.05 kB / 377.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.1084, allocations: 95.02 kB / 377.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.1089, allocations: 223.6 kB / 377.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005005/0.1094, allocations: 0.5526 MB / 378.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003241/0.1097, allocations: 226.6 kB / 378.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.1099, allocations: 171.3 kB / 378.6 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.1101, allocations: 182.9 kB / 378.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.918e-05/0.1102, allocations: 36 kB / 378.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.98e-05/0.1103, allocations: 55.92 kB / 378.8 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.275e-05/0.1104, allocations: 79.66 kB / 378.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.1106, allocations: 234.7 kB / 379.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005482/0.1111, allocations: 0.5721 MB / 379.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1111, allocations: 0 / 379.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1111, allocations: 4 kB / 379.7 MB, free: 10.74 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1111, allocations: 0 / 379.7 MB, free: 10.74 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.000945/0.1121, allocations: 0.7367 MB / 380.4 MB, free: 9.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1121, allocations: 8.031 kB / 380.5 MB, free: 9.945 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.179e-05/0.1122, allocations: 64.02 kB / 380.5 MB, free: 9.883 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005882/0.1128, allocations: 418.3 kB / 380.9 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.1129, allocations: 33 kB / 381 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.946e-05/0.1129, allocations: 40 kB / 381 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006999/0.1136, allocations: 495.4 kB / 381.5 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.1137, allocations: 7.844 kB / 381.5 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.1137, allocations: 20 kB / 381.5 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.1137, allocations: 12 kB / 381.5 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004728/0.1142, allocations: 250.1 kB / 381.8 MB, free: 8.516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002529/0.1168, allocations: 2.815 MB / 384.6 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.1172, allocations: 162.6 kB / 384.7 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.1173, allocations: 72.88 kB / 384.8 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.1175, allocations: 81.11 kB / 384.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.1175, allocations: 42.44 kB / 384.9 MB, free: 5.164 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.1175, allocations: 0 / 384.9 MB, free: 5.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001288/0.1188, allocations: 0.6146 MB / 385.5 MB, free: 4.492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.1189, allocations: 59.41 kB / 385.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/0.1192, allocations: 349.5 kB / 385.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1193, allocations: 25.7 kB / 386 MB, free: 4.043 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/0.1196, allocations: 310.9 kB / 386.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/0.1196, allocations: 59.11 kB / 386.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-05/0.1197, allocations: 61.7 kB / 386.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1199, allocations: 350.7 kB / 386.7 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.12, allocations: 71.89 kB / 386.8 MB, free: 3.188 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.1203, allocations: 219.4 kB / 387 MB, free: 2.902 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.0008988/0.1212, allocations: 0.5157 MB / 387.5 MB, free: 2.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1212, allocations: 4 kB / 387.5 MB, free: 2.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005648/0.1218, allocations: 353.5 kB / 387.9 MB, free: 1.938 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.1218, allocations: 8 kB / 387.9 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.1218, allocations: 8.688 kB / 387.9 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002104/0.1221, allocations: 40.84 kB / 387.9 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.1223, allocations: 71.84 kB / 388 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/0.124, allocations: 1.643 MB / 389.7 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.1242, allocations: 12 kB / 389.7 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.1242, allocations: 16 kB / 389.7 MB, free: 0 / 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.0002618/0.1245, allocations: 169.7 kB / 389.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-05/0.1246, allocations: 35.56 kB / 389.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.039e-05/0.1247, allocations: 39.66 kB / 389.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1247, allocations: 4 kB / 389.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1247, allocations: 0 / 389.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.1247, allocations: 4 kB / 389.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.1258, allocations: 0.7151 MB / 390.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1258, allocations: 7.938 kB / 390.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.126, allocations: 27.98 kB / 390.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-05/0.1261, allocations: 28.88 kB / 390.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.1261, allocations: 8 kB / 390.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.1274, allocations: 1.434 MB / 392.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1274, allocations: 3.984 kB / 392.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005359/0.128, allocations: 365 kB / 392.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.82e-05/0.1281, allocations: 104.6 kB / 392.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.1281, allocations: 4 kB / 392.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.1282, allocations: 8.062 kB / 392.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.1283, allocations: 19.95 kB / 392.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.1283, allocations: 4 kB / 392.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002407/0.1286, allocations: 235.2 kB / 392.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1286, allocations: 0 / 392.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004192/0.129, allocations: 68 kB / 392.9 MB, free: 12.47 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.0001261/0.1291, allocations: 103.2 kB / 393 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005396/0.1297, allocations: 315.8 kB / 393.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1297, allocations: 0 / 393.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.1299, allocations: 182.6 kB / 393.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.1303, allocations: 45.55 kB / 393.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.1319, allocations: 0.8372 MB / 394.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/0.1325, allocations: 0.8185 MB / 395.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.1327, allocations: 35.28 kB / 395.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.04e-05/0.1327, allocations: 31.42 kB / 395.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of SimCode: time 5.62e-07/0.1327, allocations: 0 / 395.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of Templates: time 0.006833/0.1396, allocations: 2.771 MB / 398.1 MB, free: 7.25 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)