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.006979/0.006979, allocations: 99.95 kB / 15.73 MB, free: 6.473 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.001391/0.001392, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.582/1.582, 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.001174/0.001175, allocations: 46.59 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09873/0.09991, 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.004251/0.1042, allocations: 3.05 MB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.1062, allocations: 1.003 MB / 377.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.1064, allocations: 11.88 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.1067, allocations: 95.11 kB / 377.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.1069, allocations: 98.95 kB / 377.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.1074, allocations: 215.7 kB / 377.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005108/0.1079, allocations: 0.5526 MB / 378.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003381/0.1082, allocations: 230.6 kB / 378.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.1084, allocations: 175.2 kB / 378.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.1086, allocations: 178.9 kB / 378.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.011e-05/0.1087, allocations: 36 kB / 378.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.1088, allocations: 48 kB / 378.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.861e-05/0.1089, allocations: 91.58 kB / 378.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.1091, allocations: 226.7 kB / 379.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005622/0.1096, allocations: 0.5799 MB / 379.7 MB, free: 10.74 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1096, allocations: 4 kB / 379.7 MB, free: 10.74 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1096, allocations: 0 / 379.7 MB, free: 10.74 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1097, 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.0009778/0.1106, allocations: 0.7406 MB / 380.5 MB, free: 9.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1107, allocations: 8.031 kB / 380.5 MB, free: 9.938 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.654e-05/0.1108, allocations: 60.03 kB / 380.5 MB, free: 9.879 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005793/0.1114, allocations: 418.3 kB / 380.9 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.1114, allocations: 29 kB / 381 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.299e-05/0.1115, allocations: 44 kB / 381 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007143/0.1122, allocations: 491.4 kB / 381.5 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.1122, allocations: 7.844 kB / 381.5 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/0.1123, allocations: 24 kB / 381.5 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.1123, allocations: 8 kB / 381.5 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000484/0.1128, allocations: 250.1 kB / 381.8 MB, free: 8.516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.1151, allocations: 2.807 MB / 384.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004273/0.1155, allocations: 166.6 kB / 384.7 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.1157, allocations: 72.83 kB / 384.8 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.1158, allocations: 85.11 kB / 384.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.1159, allocations: 34.5 kB / 384.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 3.256e-06/0.1159, allocations: 0 / 384.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001282/0.1172, allocations: 0.6191 MB / 385.5 MB, free: 4.496 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.1172, allocations: 55.41 kB / 385.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.1176, allocations: 349.5 kB / 385.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1176, allocations: 29.7 kB / 386 MB, free: 4.047 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.1178, allocations: 298.9 kB / 386.3 MB, free: 3.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.1179, allocations: 71.08 kB / 386.3 MB, free: 3.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.851e-05/0.118, allocations: 61.7 kB / 386.4 MB, free: 3.613 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1181, allocations: 350.7 kB / 386.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.1183, allocations: 67.91 kB / 386.8 MB, free: 3.195 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.1185, allocations: 223.4 kB / 387 MB, free: 2.906 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.0009602/0.1195, allocations: 0.5196 MB / 387.5 MB, free: 2.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1195, allocations: 0 / 387.5 MB, free: 2.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000589/0.1201, allocations: 357.5 kB / 387.9 MB, free: 1.938 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.1201, allocations: 11.94 kB / 387.9 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1202, allocations: 4.688 kB / 387.9 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001617/0.1203, allocations: 44.83 kB / 387.9 MB, free: 1.875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.1206, allocations: 75.84 kB / 388 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.122, allocations: 1.631 MB / 389.6 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.1222, allocations: 16 kB / 389.7 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.1222, allocations: 12 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.0002205/0.1224, allocations: 173.7 kB / 389.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-05/0.1225, allocations: 35.56 kB / 389.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.505e-05/0.1226, allocations: 43.64 kB / 389.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1226, allocations: 4 kB / 389.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1226, allocations: 0 / 389.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1226, allocations: 0 / 389.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009151/0.1235, allocations: 0.7144 MB / 390.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1235, allocations: 0 / 390.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.1237, allocations: 35.92 kB / 390.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.271e-05/0.1238, allocations: 29.02 kB / 390.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.1238, allocations: 11.98 kB / 390.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009538/0.1248, allocations: 1.434 MB / 392.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1248, allocations: 0 / 392.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004997/0.1253, allocations: 369 kB / 392.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.204e-05/0.1254, allocations: 104.6 kB / 392.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.1254, allocations: 0 / 392.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1256, allocations: 12.06 kB / 392.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.1256, allocations: 11.97 kB / 392.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.1256, allocations: 8 kB / 392.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002196/0.1259, allocations: 239.2 kB / 392.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1259, allocations: 0 / 392.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000415/0.1263, allocations: 64 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.0001211/0.1264, allocations: 107.2 kB / 393 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005774/0.127, allocations: 315.7 kB / 393.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.127, allocations: 0 / 393.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.1272, allocations: 174.6 kB / 393.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.1276, 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.001299/0.1289, allocations: 0.845 MB / 394.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.1292, allocations: 0.8146 MB / 395.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.1294, allocations: 35.27 kB / 395.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.314e-05/0.1294, allocations: 35.42 kB / 395.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1294, allocations: 0 / 395.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of Templates: time 0.006387/0.1358, allocations: 2.767 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)