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.007536/0.007536, allocations: 102.1 kB / 15.73 MB, free: 6.008 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.001553/0.001553, allocations: 192.2 kB / 16.67 MB, free: 5.949 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.585/1.585, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.001209/0.001209, allocations: 58.08 kB / 326.5 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1048, allocations: 46.63 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004309/0.1091, allocations: 3.043 MB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.1109, allocations: 1.003 MB / 377.2 MB, free: 13.26 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.1111, allocations: 15.88 kB / 377.2 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.1114, allocations: 99.05 kB / 377.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.1116, allocations: 95.02 kB / 377.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.1121, allocations: 215.7 kB / 377.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005244/0.1126, allocations: 0.5526 MB / 378.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003573/0.113, allocations: 234.5 kB / 378.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.1132, allocations: 167.3 kB / 378.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.1134, allocations: 182.9 kB / 378.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.064e-05/0.1135, allocations: 36 kB / 378.8 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.1136, allocations: 59.86 kB / 378.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.548e-05/0.1137, allocations: 83.66 kB / 378.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.1139, allocations: 230.7 kB / 379.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005626/0.1145, allocations: 0.5721 MB / 379.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1145, allocations: 4 kB / 379.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1145, allocations: 0 / 379.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.1145, allocations: 0 / 379.7 MB, free: 10.73 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.0009368/0.1155, allocations: 0.7445 MB / 380.5 MB, free: 9.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.1155, allocations: 8.031 kB / 380.5 MB, free: 9.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.714e-05/0.1156, allocations: 60.03 kB / 380.5 MB, free: 9.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005705/0.1162, allocations: 418.3 kB / 380.9 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.1162, allocations: 29 kB / 381 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.549e-05/0.1163, allocations: 44 kB / 381 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007533/0.1171, allocations: 491.4 kB / 381.5 MB, free: 8.781 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/0.1171, allocations: 7.844 kB / 381.5 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.1171, allocations: 20 kB / 381.5 MB, free: 8.754 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.1172, allocations: 8 kB / 381.5 MB, free: 8.746 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004628/0.1176, allocations: 258.1 kB / 381.8 MB, free: 8.496 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.1199, allocations: 2.807 MB / 384.6 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004497/0.1204, allocations: 166.6 kB / 384.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.1206, allocations: 68.88 kB / 384.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/0.1207, allocations: 89.11 kB / 384.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.1207, allocations: 42.42 kB / 384.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.1207, allocations: 0 / 384.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001294/0.122, allocations: 0.6184 MB / 385.6 MB, free: 4.469 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.1221, allocations: 55.41 kB / 385.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.1225, allocations: 349.5 kB / 386 MB, free: 4.055 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.1225, allocations: 29.7 kB / 386 MB, free: 4.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.1227, allocations: 306.9 kB / 386.3 MB, free: 3.715 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/0.1228, allocations: 63.11 kB / 386.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.7e-05/0.1229, allocations: 61.7 kB / 386.4 MB, free: 3.586 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.123, allocations: 350.7 kB / 386.7 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.1232, allocations: 67.89 kB / 386.8 MB, free: 3.168 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.1234, allocations: 223.4 kB / 387 MB, free: 2.879 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.000895/0.1243, allocations: 0.5196 MB / 387.5 MB, free: 2.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1243, allocations: 0 / 387.5 MB, free: 2.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005535/0.1249, allocations: 357.5 kB / 387.9 MB, free: 1.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1249, allocations: 8 kB / 387.9 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1249, allocations: 4.688 kB / 387.9 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001441/0.1251, allocations: 36.84 kB / 387.9 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.1253, allocations: 79.84 kB / 388 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.1266, allocations: 1.631 MB / 389.7 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.1267, allocations: 12.05 kB / 389.7 MB, free: 16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.1268, allocations: 16 kB / 389.7 MB, free: 15.98 MB / 334.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.0001965/0.127, allocations: 177.6 kB / 389.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/0.127, allocations: 35.56 kB / 389.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.113e-05/0.1271, allocations: 39.66 kB / 389.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1271, allocations: 4 kB / 389.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1271, allocations: 4 kB / 389.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1272, allocations: 144 / 389.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009226/0.1281, allocations: 0.718 MB / 390.7 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1281, allocations: 0 / 390.7 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.1283, allocations: 31.98 kB / 390.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.317e-05/0.1284, allocations: 28.88 kB / 390.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.1284, allocations: 8 kB / 390.7 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009374/0.1293, allocations: 1.434 MB / 392.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1294, allocations: 0 / 392.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000467/0.1298, allocations: 365 kB / 392.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.146e-05/0.1299, allocations: 104.6 kB / 392.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.1299, allocations: 0 / 392.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.13, allocations: 12.06 kB / 392.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.1301, allocations: 15.95 kB / 392.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.1301, allocations: 8 kB / 392.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002164/0.1303, allocations: 235.2 kB / 392.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1303, allocations: 0 / 392.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004042/0.1308, allocations: 64 kB / 392.9 MB, free: 12.46 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.0001339/0.1309, allocations: 107.2 kB / 393 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005548/0.1315, allocations: 315.7 kB / 393.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1315, allocations: 0 / 393.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.1317, allocations: 174.7 kB / 393.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.132, allocations: 49.72 kB / 393.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.1334, allocations: 0.8409 MB / 394.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.1339, allocations: 0.8185 MB / 395.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.134, allocations: 31.28 kB / 395.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.134, allocations: 35.42 kB / 395.3 MB, free: 10 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.134, allocations: 0 / 395.3 MB, free: 10 MB / 334.1 MB Notification: Performance of Templates: time 0.006718/0.1408, allocations: 2.772 MB / 398.1 MB, free: 7.23 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)