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.001089/0.001089, allocations: 104.3 kB / 16.62 MB, free: 6.812 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.001061/0.001061, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.506/1.506, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.00121/0.00121, allocations: 51.92 kB / 279.5 MB, free: 3.512 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1095, allocations: 46.63 MB / 326.1 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004552/0.1141, allocations: 3.092 MB / 329.2 MB, free: 1.688 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.1159, allocations: 0.9757 MB / 330.2 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.1161, allocations: 19.88 kB / 330.2 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.1164, allocations: 71.42 kB / 330.3 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.1166, allocations: 71.28 kB / 330.4 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.117, allocations: 191.8 kB / 330.5 MB, free: 368 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005363/0.1176, allocations: 0.5449 MB / 331.1 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003309/0.1179, allocations: 226.6 kB / 331.3 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.1181, allocations: 175.2 kB / 331.5 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.1183, allocations: 179 kB / 331.7 MB, free: 15.24 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.799e-05/0.1184, allocations: 36 kB / 331.7 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.1185, allocations: 44 kB / 331.7 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.866e-05/0.1186, allocations: 95.58 kB / 331.8 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.1187, allocations: 230.7 kB / 332 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005101/0.1193, allocations: 0.5491 MB / 332.6 MB, free: 14.29 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.1193, allocations: 8 kB / 332.6 MB, free: 14.29 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1193, allocations: 0 / 332.6 MB, free: 14.29 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.1193, allocations: 0 / 332.6 MB, free: 14.29 MB / 286.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.001021/0.1203, allocations: 0.7406 MB / 333.3 MB, free: 13.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1204, allocations: 11.97 kB / 333.4 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.1205, allocations: 67.94 kB / 333.4 MB, free: 13.42 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005171/0.121, allocations: 398.4 kB / 333.8 MB, free: 12.99 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.121, allocations: 33 kB / 333.8 MB, free: 12.96 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.897e-05/0.1211, allocations: 47.94 kB / 333.9 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007096/0.1218, allocations: 479.3 kB / 334.4 MB, free: 12.37 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.1219, allocations: 12 kB / 334.4 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.1219, allocations: 19.98 kB / 334.4 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.1219, allocations: 12 kB / 334.4 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004312/0.1224, allocations: 246.1 kB / 334.6 MB, free: 12.08 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.1245, allocations: 2.83 MB / 337.5 MB, free: 9.098 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/0.1249, allocations: 166.7 kB / 337.6 MB, free: 8.926 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.125, allocations: 68.84 kB / 337.7 MB, free: 8.855 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002118/0.1253, allocations: 85.09 kB / 337.8 MB, free: 8.754 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.1253, allocations: 34.5 kB / 337.8 MB, free: 8.711 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.1253, allocations: 0 / 337.8 MB, free: 8.711 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001273/0.1266, allocations: 0.6264 MB / 338.4 MB, free: 8.031 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.1266, allocations: 51.41 kB / 338.5 MB, free: 7.969 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003586/0.127, allocations: 349.5 kB / 338.8 MB, free: 7.617 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.1271, allocations: 33.69 kB / 338.9 MB, free: 7.578 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.1273, allocations: 302.9 kB / 339.2 MB, free: 7.277 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.783e-05/0.1273, allocations: 63.09 kB / 339.2 MB, free: 7.215 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-05/0.1274, allocations: 69.56 kB / 339.3 MB, free: 7.141 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1275, allocations: 354.7 kB / 339.6 MB, free: 6.785 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.1277, allocations: 67.75 kB / 339.7 MB, free: 6.719 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.1279, allocations: 215.7 kB / 339.9 MB, free: 6.438 MB / 286.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.0008877/0.1288, allocations: 0.512 MB / 340.4 MB, free: 5.836 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1288, allocations: 0 / 340.4 MB, free: 5.836 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005299/0.1293, allocations: 361.7 kB / 340.8 MB, free: 5.473 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1294, allocations: 8 kB / 340.8 MB, free: 5.465 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.1294, allocations: 4 kB / 340.8 MB, free: 5.461 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/0.1295, allocations: 36.84 kB / 340.8 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.1298, allocations: 75.84 kB / 340.9 MB, free: 5.348 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.131, allocations: 1.647 MB / 342.6 MB, free: 3.559 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.1312, allocations: 19.98 kB / 342.6 MB, free: 3.539 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.1313, allocations: 20 kB / 342.6 MB, free: 3.52 MB / 286.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.0001861/0.1315, allocations: 169.7 kB / 342.8 MB, free: 3.344 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/0.1315, allocations: 39.47 kB / 342.8 MB, free: 3.305 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.299e-05/0.1316, allocations: 43.64 kB / 342.8 MB, free: 3.262 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1316, allocations: 4 kB / 342.8 MB, free: 3.258 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1316, allocations: 0 / 342.8 MB, free: 3.258 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1316, allocations: 0 / 342.8 MB, free: 3.258 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008864/0.1325, allocations: 0.7092 MB / 343.6 MB, free: 2.477 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1325, allocations: 4 kB / 343.6 MB, free: 2.473 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.1327, allocations: 35.95 kB / 343.6 MB, free: 2.438 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-05/0.1328, allocations: 24.84 kB / 343.6 MB, free: 2.41 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.1328, allocations: 8 kB / 343.6 MB, free: 2.402 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000914/0.1337, allocations: 1.43 MB / 345.1 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1337, allocations: 3.984 kB / 345.1 MB, free: 0.832 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/0.1342, allocations: 372.6 kB / 345.4 MB, free: 456 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.42e-05/0.1343, allocations: 100.7 kB / 345.5 MB, free: 336 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.1343, allocations: 0 / 345.5 MB, free: 336 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.1345, allocations: 15.91 kB / 345.5 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.1345, allocations: 19.91 kB / 345.6 MB, free: 300 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.1346, allocations: 4 kB / 345.6 MB, free: 296 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000225/0.1348, allocations: 239.1 kB / 345.8 MB, free: 56 kB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1348, allocations: 0 / 345.8 MB, free: 56 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004689/0.1353, allocations: 68.05 kB / 345.9 MB, free: 15.98 MB / 302.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.0001211/0.1354, allocations: 99.25 kB / 346 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000602/0.136, allocations: 319.4 kB / 346.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.136, allocations: 4 kB / 346.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.1362, allocations: 182.5 kB / 346.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.1366, allocations: 33.56 kB / 346.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.1382, allocations: 1.033 MB / 347.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.1386, allocations: 0.8185 MB / 348.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001276/0.1388, allocations: 39.27 kB / 348.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.699e-05/0.1388, allocations: 27.44 kB / 348.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1388, allocations: 0 / 348.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of Templates: time 0.00675/0.1456, allocations: 2.673 MB / 351.1 MB, free: 10.68 MB / 302.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)