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.001804/0.001804, allocations: 99.55 kB / 16.5 MB, free: 6.652 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.001799/0.001799, allocations: 194.4 kB / 17.42 MB, free: 6.066 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.616/1.616, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001078/0.001078, allocations: 43.92 kB / 279.3 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09147/0.09255, allocations: 46.63 MB / 326 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004112/0.0967, allocations: 3.084 MB / 329 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.09818, allocations: 0.9874 MB / 330 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.09835, allocations: 11.94 kB / 330 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.09861, allocations: 71.38 kB / 330.1 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.09876, allocations: 75.27 kB / 330.2 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.09915, allocations: 187.8 kB / 330.4 MB, free: 472 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004391/0.0996, allocations: 0.5214 MB / 330.9 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.09988, allocations: 202.2 kB / 331.1 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.1001, allocations: 151.2 kB / 331.2 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.1003, allocations: 174.9 kB / 331.4 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.1003, allocations: 24 kB / 331.4 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.261e-05/0.1004, allocations: 32 kB / 331.5 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.547e-05/0.1005, allocations: 71.64 kB / 331.5 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.1006, allocations: 218.6 kB / 331.7 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004203/0.1011, allocations: 0.5101 MB / 332.2 MB, free: 14.57 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1011, allocations: 3.938 kB / 332.3 MB, free: 14.56 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1011, allocations: 0 / 332.3 MB, free: 14.56 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.1011, allocations: 0 / 332.3 MB, free: 14.56 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.0008953/0.102, allocations: 0.7328 MB / 333 MB, free: 13.78 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.1021, allocations: 12.03 kB / 333 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.597e-05/0.1022, allocations: 63.94 kB / 333.1 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.1026, allocations: 402.4 kB / 333.5 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.1027, allocations: 33 kB / 333.5 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.1027, allocations: 36 kB / 333.5 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006858/0.1034, allocations: 495.2 kB / 334 MB, free: 12.65 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.1034, allocations: 4 kB / 334 MB, free: 12.64 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.1035, allocations: 19.98 kB / 334 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.1035, allocations: 12 kB / 334 MB, free: 12.61 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004575/0.104, allocations: 242.1 kB / 334.3 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002143/0.1061, allocations: 2.842 MB / 337.1 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/0.1065, allocations: 166.7 kB / 337.3 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/0.1068, allocations: 64.84 kB / 337.3 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001883/0.107, allocations: 85.09 kB / 337.4 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.107, allocations: 38.5 kB / 337.5 MB, free: 8.992 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.854e-06/0.107, allocations: 0 / 337.5 MB, free: 8.992 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001242/0.1083, allocations: 0.6266 MB / 338.1 MB, free: 8.312 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.1083, allocations: 55.41 kB / 338.1 MB, free: 8.246 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.1086, allocations: 345.5 kB / 338.5 MB, free: 7.898 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.1086, allocations: 25.7 kB / 338.5 MB, free: 7.867 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.1088, allocations: 303 kB / 338.8 MB, free: 7.566 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.1089, allocations: 67.08 kB / 338.9 MB, free: 7.5 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-05/0.109, allocations: 69.56 kB / 338.9 MB, free: 7.426 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1091, allocations: 354.7 kB / 339.3 MB, free: 7.07 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.1092, allocations: 67.75 kB / 339.3 MB, free: 7.004 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.1095, allocations: 219.6 kB / 339.6 MB, free: 6.719 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.0009183/0.1104, allocations: 0.5081 MB / 340.1 MB, free: 6.121 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1104, allocations: 4 kB / 340.1 MB, free: 6.117 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005526/0.111, allocations: 365.8 kB / 340.4 MB, free: 5.75 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.111, allocations: 8 kB / 340.4 MB, free: 5.742 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.111, allocations: 4 kB / 340.4 MB, free: 5.738 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001547/0.1112, allocations: 36.84 kB / 340.5 MB, free: 5.699 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.1114, allocations: 67.91 kB / 340.5 MB, free: 5.633 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.1126, allocations: 1.487 MB / 342 MB, free: 4.008 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.1128, allocations: 16 kB / 342 MB, free: 3.992 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.1128, allocations: 19.98 kB / 342.1 MB, free: 3.973 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.0002281/0.1131, allocations: 169.8 kB / 342.2 MB, free: 3.797 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.118e-05/0.1131, allocations: 35.53 kB / 342.3 MB, free: 3.762 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.794e-05/0.1132, allocations: 39.53 kB / 342.3 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1132, allocations: 4 kB / 342.3 MB, free: 3.719 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1132, allocations: 3.938 kB / 342.3 MB, free: 3.715 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1132, allocations: 3.984 kB / 342.3 MB, free: 3.711 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009611/0.1142, allocations: 0.707 MB / 343 MB, free: 2.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.1142, allocations: 4 kB / 343 MB, free: 2.926 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.1144, allocations: 35.91 kB / 343.1 MB, free: 2.891 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-05/0.1145, allocations: 24.8 kB / 343.1 MB, free: 2.863 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.1145, allocations: 11.98 kB / 343.1 MB, free: 2.852 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008579/0.1153, allocations: 1.328 MB / 344.4 MB, free: 1.395 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.1154, allocations: 4.031 kB / 344.4 MB, free: 1.391 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004619/0.1158, allocations: 360.6 kB / 344.8 MB, free: 1.016 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.1159, allocations: 104.7 kB / 344.9 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.1159, allocations: 4 kB / 344.9 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.1161, allocations: 12.03 kB / 344.9 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.1161, allocations: 11.92 kB / 344.9 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.1161, allocations: 12 kB / 344.9 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002128/0.1164, allocations: 239.2 kB / 345.2 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1164, allocations: 0 / 345.2 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003908/0.1168, allocations: 68 kB / 345.2 MB, free: 0.5547 MB / 286.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.000105/0.1169, allocations: 95.25 kB / 345.3 MB, free: 460 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005275/0.1174, allocations: 315.4 kB / 345.6 MB, free: 132 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1174, allocations: 0 / 345.6 MB, free: 132 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.1177, allocations: 188.9 kB / 345.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.118, allocations: 41.44 kB / 345.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.1194, allocations: 1.024 MB / 346.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.1198, allocations: 0.8223 MB / 347.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000124/0.1199, allocations: 35.27 kB / 347.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.12, allocations: 35.42 kB / 347.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.12, allocations: 0 / 347.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of Templates: time 0.00572/0.1257, allocations: 2.563 MB / 350.3 MB, free: 11.36 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)