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.01009/0.01009, allocations: 101.2 kB / 15.73 MB, free: 5.508 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.002233/0.002233, allocations: 195.6 kB / 16.67 MB, free: 5.438 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.583/1.583, allocations: 205.1 MB / 222.6 MB, free: 4.465 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.001125/0.001125, allocations: 49.19 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1169, allocations: 46.63 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.008693/0.1257, allocations: 3.054 MB / 376.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003794/0.1295, allocations: 0.9988 MB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006683/0.1302, allocations: 11.94 kB / 377.2 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005599/0.1308, allocations: 95.05 kB / 377.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005261/0.1314, allocations: 103 kB / 377.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.1324, allocations: 215.6 kB / 377.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001222/0.1337, allocations: 0.5371 MB / 378.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006863/0.1344, allocations: 230.6 kB / 378.4 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004501/0.1349, allocations: 175.3 kB / 378.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004373/0.1353, allocations: 179 kB / 378.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.1355, allocations: 39.94 kB / 378.8 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00023/0.1357, allocations: 51.94 kB / 378.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.1359, allocations: 91.62 kB / 378.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003452/0.1362, allocations: 226.7 kB / 379.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.1373, allocations: 0.5834 MB / 379.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.1373, allocations: 0 / 379.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1374, allocations: 4 kB / 379.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.02e-05/0.1374, allocations: 0 / 379.7 MB, free: 10.72 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.001696/0.1391, allocations: 0.7556 MB / 380.5 MB, free: 9.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/0.1392, allocations: 8.031 kB / 380.5 MB, free: 9.902 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.1394, allocations: 64.31 kB / 380.5 MB, free: 9.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.1405, allocations: 422.6 kB / 381 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.35e-05/0.1406, allocations: 32.98 kB / 381 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.1407, allocations: 43.95 kB / 381 MB, free: 9.309 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.142, allocations: 491.4 kB / 381.5 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.396e-05/0.1421, allocations: 3.938 kB / 381.5 MB, free: 8.746 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.669e-05/0.1421, allocations: 23.98 kB / 381.5 MB, free: 8.723 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.1422, allocations: 12 kB / 381.5 MB, free: 8.711 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009122/0.1431, allocations: 250.1 kB / 381.8 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00393/0.147, allocations: 2.811 MB / 384.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007138/0.1478, allocations: 158.7 kB / 384.8 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.148, allocations: 76.77 kB / 384.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.1482, allocations: 81.11 kB / 384.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.1483, allocations: 42.5 kB / 385 MB, free: 5.121 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.665e-06/0.1483, allocations: 0 / 385 MB, free: 5.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.002262/0.1506, allocations: 0.6285 MB / 385.6 MB, free: 4.438 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.1507, allocations: 55.41 kB / 385.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006586/0.1513, allocations: 349.6 kB / 386 MB, free: 4.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.1514, allocations: 29.7 kB / 386 MB, free: 3.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003436/0.1518, allocations: 303.8 kB / 386.3 MB, free: 3.688 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.895e-05/0.1519, allocations: 71.42 kB / 386.4 MB, free: 3.617 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.1521, allocations: 73.53 kB / 386.4 MB, free: 3.539 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002467/0.1523, allocations: 350.7 kB / 386.8 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.1526, allocations: 63.97 kB / 386.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004887/0.1531, allocations: 211.5 kB / 387.1 MB, free: 2.848 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.001819/0.155, allocations: 0.5196 MB / 387.6 MB, free: 2.238 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.155, allocations: 4 kB / 387.6 MB, free: 2.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001119/0.1561, allocations: 357.6 kB / 387.9 MB, free: 1.875 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.1562, allocations: 8.062 kB / 387.9 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.1562, allocations: 8.688 kB / 387.9 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002307/0.1565, allocations: 44.78 kB / 388 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/0.1569, allocations: 71.89 kB / 388.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.1592, allocations: 1.639 MB / 389.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.1595, allocations: 15.98 kB / 389.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.1596, allocations: 20 kB / 389.7 MB, free: 15.93 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.0003232/0.1599, allocations: 165.7 kB / 389.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.1601, allocations: 39.7 kB / 389.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.1602, allocations: 43.58 kB / 390 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1602, allocations: 4.062 kB / 390 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1602, allocations: 0 / 390 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1602, allocations: 0 / 390 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.1619, allocations: 0.7065 MB / 390.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.1619, allocations: 0 / 390.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.1623, allocations: 39.97 kB / 390.7 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001279/0.1624, allocations: 24.88 kB / 390.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.1625, allocations: 4 kB / 390.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/0.1642, allocations: 1.438 MB / 392.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1642, allocations: 0 / 392.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009214/0.1652, allocations: 373.2 kB / 392.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.1653, allocations: 108.9 kB / 392.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.1654, allocations: 4 kB / 392.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.1656, allocations: 8.062 kB / 392.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.451e-05/0.1657, allocations: 19.92 kB / 392.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.1657, allocations: 0 / 392.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004365/0.1662, allocations: 239.2 kB / 392.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.446e-06/0.1662, allocations: 0 / 392.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007946/0.167, allocations: 71.94 kB / 393 MB, free: 12.4 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.0001665/0.1672, allocations: 103.1 kB / 393.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009858/0.1682, allocations: 310.3 kB / 393.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.1682, allocations: 1.375 kB / 393.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000381/0.1686, allocations: 182.6 kB / 393.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005888/0.1692, allocations: 49.55 kB / 393.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/0.1718, allocations: 0.8557 MB / 394.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.1723, allocations: 0.8146 MB / 395.3 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001549/0.1725, allocations: 35.27 kB / 395.3 MB, free: 9.965 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.561e-05/0.1725, allocations: 31.42 kB / 395.4 MB, free: 9.934 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1726, allocations: 0 / 395.4 MB, free: 9.934 MB / 334.1 MB Notification: Performance of Templates: time 0.00736/0.1799, allocations: 2.764 MB / 398.1 MB, free: 7.168 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)