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.006933/0.006933, allocations: 100.8 kB / 15.73 MB, free: 6.031 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.001596/0.001596, allocations: 185.4 kB / 16.67 MB, free: 5.965 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.684/1.684, allocations: 205.1 MB / 222.6 MB, free: 4.578 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.001249/0.001249, allocations: 49.48 kB / 326.5 MB, free: 14.28 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1049, allocations: 46.63 MB / 373.1 MB, free: 1.359 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004446/0.1094, allocations: 3.054 MB / 376.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.1116, allocations: 1.003 MB / 377.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004139/0.1121, allocations: 15.94 kB / 377.2 MB, free: 13.26 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.1125, allocations: 95.05 kB / 377.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002681/0.1127, allocations: 95 kB / 377.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.1133, allocations: 211.7 kB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006955/0.114, allocations: 0.5526 MB / 378.2 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003766/0.1144, allocations: 230.6 kB / 378.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.1147, allocations: 175.3 kB / 378.6 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.115, allocations: 179 kB / 378.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.38e-05/0.115, allocations: 36 kB / 378.8 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.1152, allocations: 47.94 kB / 378.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.1153, allocations: 91.64 kB / 378.9 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002299/0.1155, allocations: 230.7 kB / 379.1 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007093/0.1162, allocations: 0.5643 MB / 379.7 MB, free: 10.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.1163, allocations: 7.984 kB / 379.7 MB, free: 10.76 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1163, allocations: 4 kB / 379.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.1163, allocations: 0 / 379.7 MB, free: 10.75 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.001204/0.1175, allocations: 0.7406 MB / 380.5 MB, free: 9.961 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1176, allocations: 8.031 kB / 380.5 MB, free: 9.953 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.754e-05/0.1177, allocations: 60.03 kB / 380.5 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006379/0.1183, allocations: 422.3 kB / 380.9 MB, free: 9.438 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.1183, allocations: 29 kB / 381 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.385e-05/0.1184, allocations: 40 kB / 381 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008483/0.1193, allocations: 487.4 kB / 381.5 MB, free: 8.816 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.1193, allocations: 15.84 kB / 381.5 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.1194, allocations: 16 kB / 381.5 MB, free: 8.785 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.1194, allocations: 12 kB / 381.5 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/0.1199, allocations: 254.1 kB / 381.8 MB, free: 8.527 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.1222, allocations: 2.811 MB / 384.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/0.1227, allocations: 158.7 kB / 384.7 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.1228, allocations: 76.72 kB / 384.8 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.1229, allocations: 89.09 kB / 384.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.123, allocations: 42.5 kB / 384.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.123, allocations: 0 / 384.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001352/0.1243, allocations: 0.6149 MB / 385.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.1244, allocations: 55.39 kB / 385.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/0.1248, allocations: 353.5 kB / 385.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1248, allocations: 25.7 kB / 386 MB, free: 4.051 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.125, allocations: 306.9 kB / 386.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.054e-05/0.1251, allocations: 63.09 kB / 386.3 MB, free: 3.684 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.173e-05/0.1252, allocations: 61.7 kB / 386.4 MB, free: 3.617 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1253, allocations: 354.7 kB / 386.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.1255, allocations: 67.91 kB / 386.8 MB, free: 3.195 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.1257, allocations: 215.5 kB / 387 MB, free: 2.914 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.0009895/0.1267, allocations: 0.5157 MB / 387.5 MB, free: 2.309 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.1268, allocations: 4 kB / 387.5 MB, free: 2.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000605/0.1274, allocations: 357.5 kB / 387.9 MB, free: 1.945 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1274, allocations: 8.688 kB / 387.9 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1274, allocations: 4 kB / 387.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/0.1276, allocations: 40.78 kB / 387.9 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.1278, allocations: 75.89 kB / 388 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.1292, allocations: 1.643 MB / 389.7 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.1293, allocations: 15.98 kB / 389.7 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.1294, allocations: 16 kB / 389.7 MB, free: 4 kB / 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.0002004/0.1296, allocations: 165.7 kB / 389.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/0.1297, allocations: 35.56 kB / 389.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.519e-05/0.1297, allocations: 43.66 kB / 389.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1297, allocations: 3.984 kB / 389.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1298, allocations: 4 kB / 389.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1298, allocations: 0 / 389.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009413/0.1307, allocations: 0.7102 MB / 390.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1307, allocations: 0 / 390.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.1309, allocations: 36 kB / 390.7 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.683e-05/0.131, allocations: 28.84 kB / 390.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.131, allocations: 8 kB / 390.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.1321, allocations: 1.434 MB / 392.1 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.1321, allocations: 4.031 kB / 392.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005028/0.1326, allocations: 361 kB / 392.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.862e-05/0.1327, allocations: 108.6 kB / 392.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.1328, allocations: 12.09 kB / 392.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.1329, allocations: 4 kB / 392.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.1329, allocations: 15.92 kB / 392.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.133, allocations: 8 kB / 392.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00022/0.1332, allocations: 231.2 kB / 392.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1332, allocations: 0 / 392.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004408/0.1336, allocations: 68 kB / 392.9 MB, free: 12.48 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.000122/0.1338, allocations: 103.2 kB / 393 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005621/0.1343, allocations: 319.7 kB / 393.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1343, allocations: 0 / 393.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.1346, allocations: 186.7 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.0003683/0.1349, allocations: 41.48 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.001372/0.1363, allocations: 0.8371 MB / 394.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.1367, allocations: 0.8146 MB / 395.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.1368, allocations: 43.25 kB / 395.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.1369, allocations: 35.42 kB / 395.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1369, allocations: 0 / 395.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of Templates: time 0.00678/0.1437, allocations: 2.756 MB / 398.1 MB, free: 7.262 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)